Skip to content

Commit

Permalink
[FIX] #330 코스 아이템 삭제 완료 후 visibility 조절
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeha committed Feb 16, 2024
1 parent cbad3da commit 9f588bb
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,13 @@ class MyUploadActivity : BindingActivity<ActivityMyUploadBinding>(R.layout.activ
}

private fun handleSuccessfulUploadDeletion() {
binding.indeterminateBar.isVisible = false
uploadAdapter.removeItems(viewModel.itemsToDelete)
uploadAdapter.clearSelection()
viewModel.clearItemsToDelete()

binding.indeterminateBar.isVisible = false
binding.constMyPageUploadEditBar.isVisible = true
binding.svMyPageUpload.isVisible = true
}

private fun handleUnsuccessfulUploadCall() {
Expand Down

0 comments on commit 9f588bb

Please sign in to comment.