From ca3ed59c28c888f6b9fb841c9faeb9cb97649489 Mon Sep 17 00:00:00 2001 From: BAEK0111 Date: Sun, 19 May 2024 16:12:12 +0900 Subject: [PATCH] =?UTF-8?q?[simba/#28]=20feat::=EB=A6=AC=EC=82=AC=EC=9D=B4?= =?UTF-8?q?=ED=81=B4=EB=9F=AC=EB=B7=B0=20=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shelved.patch" | 314 ++++++++++++++++++ ..._Checkout_at_5_18_24__7_44PM__Changes_.xml | 4 + .../shelved.patch" | 15 - ...e_Checkout_at_5_1_24__6_28PM__Changes_.xml | 4 - .../main/java/com/example/umc_6th/Album.kt | 10 + .../com/example/umc_6th/AlbumRVAdapter.kt | 32 ++ .../java/com/example/umc_6th/HomeFragment.kt | 24 +- .../app/src/main/res/layout/fragment_home.xml | 306 ++++++++--------- .../app/src/main/res/layout/item_album.xml | 4 +- 9 files changed, 530 insertions(+), 183 deletions(-) create mode 100644 "UMC_6th/.idea/shelf/Uncommitted_changes_before_Checkout_at_5_18_24,_7_44\342\200\257PM_[Changes]/shelved.patch" create mode 100644 UMC_6th/.idea/shelf/Uncommitted_changes_before_Checkout_at_5_18_24__7_44PM__Changes_.xml delete mode 100644 "UMC_6th/.idea/shelf/Uncommitted_changes_before_Checkout_at_5_1_24,_6_28\342\200\257PM_[Changes]/shelved.patch" delete mode 100644 UMC_6th/.idea/shelf/Uncommitted_changes_before_Checkout_at_5_1_24__6_28PM__Changes_.xml create mode 100644 UMC_6th/app/src/main/java/com/example/umc_6th/Album.kt create mode 100644 UMC_6th/app/src/main/java/com/example/umc_6th/AlbumRVAdapter.kt diff --git "a/UMC_6th/.idea/shelf/Uncommitted_changes_before_Checkout_at_5_18_24,_7_44\342\200\257PM_[Changes]/shelved.patch" "b/UMC_6th/.idea/shelf/Uncommitted_changes_before_Checkout_at_5_18_24,_7_44\342\200\257PM_[Changes]/shelved.patch" new file mode 100644 index 0000000..fb11067 --- /dev/null +++ "b/UMC_6th/.idea/shelf/Uncommitted_changes_before_Checkout_at_5_18_24,_7_44\342\200\257PM_[Changes]/shelved.patch" @@ -0,0 +1,314 @@ +Index: app/src/main/java/com/example/umc_6th/MemoCheckActivity.kt +=================================================================== +diff --git a/app/src/main/java/com/example/umc_6th/MemoCheckActivity.kt b/app/src/main/java/com/example/umc_6th/MemoCheckActivity.kt +deleted file mode 100644 +--- a/app/src/main/java/com/example/umc_6th/MemoCheckActivity.kt (revision 64c266d85ab319ac4c7c3a26cefb02bb1f06820c) ++++ /dev/null (revision 64c266d85ab319ac4c7c3a26cefb02bb1f06820c) +@@ -1,20 +0,0 @@ +-package com.example.umc_6th +- +-import android.os.Bundle +-import androidx.appcompat.app.AppCompatActivity +-import com.example.umc_6th.databinding.ActivityMemoCheckBinding +- +-class MemoCheckActivity : AppCompatActivity() { +- lateinit var binding : ActivityMemoCheckBinding +- +- override fun onCreate(savedInstanceState: Bundle?) { +- super.onCreate(savedInstanceState) +- +- binding = ActivityMemoCheckBinding.inflate(layoutInflater) +- setContentView(binding.root) +- +- if(intent.hasExtra("memo")) { +- binding.memoCheckText.text = intent.getStringExtra("memo")!! +- } +- } +-} +\ No newline at end of file +Index: app/src/main/java/com/example/umc_6th/MemoActivity.kt +=================================================================== +diff --git a/app/src/main/java/com/example/umc_6th/MemoActivity.kt b/app/src/main/java/com/example/umc_6th/MemoActivity.kt +deleted file mode 100644 +--- a/app/src/main/java/com/example/umc_6th/MemoActivity.kt (revision 64c266d85ab319ac4c7c3a26cefb02bb1f06820c) ++++ /dev/null (revision 64c266d85ab319ac4c7c3a26cefb02bb1f06820c) +@@ -1,48 +0,0 @@ +-package com.example.umc_6th +- +-import android.content.Intent +-import android.os.Bundle +-import android.util.Log +-import androidx.appcompat.app.AppCompatActivity +-import com.example.umc_6th.databinding.ActivityMemoBinding +- +-class MemoActivity : AppCompatActivity() { +- +- lateinit var binding : ActivityMemoBinding +- +- override fun onCreate(savedInstanceState: Bundle?) { +- super.onCreate(savedInstanceState) +- binding = ActivityMemoBinding.inflate(layoutInflater) +- setContentView(binding.root) +- +- binding.nextBtn.setOnClickListener { +- val intent = Intent(this, MemoCheckActivity::class.java) +- val memoTxt = binding.memoEt.text.toString() +- intent.putExtra("memo", memoTxt) +- startActivity(intent) +- } +- } +- +- override fun onPause() { +- super.onPause() +- val sharedPreferences = getSharedPreferences("memo", MODE_PRIVATE) +- val editor = sharedPreferences.edit() +- val tempMemo = binding.memoEt.text.toString() +- +- if(tempMemo.isNotEmpty()) { +- editor.putString("tempMemo", tempMemo) +- Log.d("tempMemo", tempMemo) +- editor.apply() +- } +- } +- +- override fun onResume() { +- super.onResume() +- val sharedPreferences = getSharedPreferences("memo", MODE_PRIVATE) +- val tempMemo = sharedPreferences.getString("tempMemo", null) +- +- if(tempMemo != null) { +- binding.memoEt.setText(tempMemo) +- } +- } +-} +\ No newline at end of file +Index: app/src/main/res/layout/activity_memo_check.xml +=================================================================== +diff --git a/app/src/main/res/layout/activity_memo_check.xml b/app/src/main/res/layout/activity_memo_check.xml +deleted file mode 100644 +--- a/app/src/main/res/layout/activity_memo_check.xml (revision 64c266d85ab319ac4c7c3a26cefb02bb1f06820c) ++++ /dev/null (revision 64c266d85ab319ac4c7c3a26cefb02bb1f06820c) +@@ -1,32 +0,0 @@ +- +- +- +- +- +- +- +- +\ No newline at end of file +Index: app/src/main/res/layout/dialog.xml +=================================================================== +diff --git a/app/src/main/res/layout/dialog.xml b/app/src/main/res/layout/dialog.xml +deleted file mode 100644 +--- a/app/src/main/res/layout/dialog.xml (revision 64c266d85ab319ac4c7c3a26cefb02bb1f06820c) ++++ /dev/null (revision 64c266d85ab319ac4c7c3a26cefb02bb1f06820c) +@@ -1,76 +0,0 @@ +- +- +- +- +- +- +- +- +- +- +- +-