Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjoongcho committed Jun 25, 2023
1 parent 94402e1 commit 02ed28d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ class CaldroidItemAdapter(

binding.run {
// item1.tag = dateTime.format("YYYY-MM-DD")
CoroutineScope(Dispatchers.IO).launch {
// CoroutineScope(Dispatchers.IO).launch {
// delay(200)
withContext(Dispatchers.Main) {
// withContext(Dispatchers.Main) {
val dateString = dateTime.format("YYYY-MM-DD")
// if (!item1.tag.equals(dateString)) {
// cancel()
Expand Down Expand Up @@ -173,8 +173,8 @@ class CaldroidItemAdapter(

// Set custom color if required
setCustomResources(dateTime, itemView, calendarDate)
}
}
// }
// }
}
return itemView
}
Expand Down

0 comments on commit 02ed28d

Please sign in to comment.