mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 12:49:02 +00:00
Set RecyclerViewEmptySupport state manually after loading/updating data
This commit is contained in:
parent
e8a7fe665c
commit
ff568fc68c
1 changed files with 3 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ import com.habitrpg.android.habitica.databinding.DialogChallengeFilterBinding
|
|||
import com.habitrpg.android.habitica.models.social.Group
|
||||
import com.habitrpg.android.habitica.ui.adapter.social.challenges.ChallengesFilterRecyclerViewAdapter
|
||||
import com.habitrpg.android.habitica.ui.views.dialogs.HabiticaBottomSheetDialog
|
||||
import com.habitrpg.common.habitica.helpers.RecyclerViewState
|
||||
|
||||
internal class ChallengeFilterDialogHolder private constructor(
|
||||
view: View,
|
||||
|
|
@ -53,8 +54,9 @@ internal class ChallengeFilterDialogHolder private constructor(
|
|||
currentFilter?.let { currentFilter ->
|
||||
adapter?.checkedEntries?.addAll(currentFilter.showByGroups)
|
||||
}
|
||||
|
||||
binding.challengeFilterRecyclerView.adapter = adapter
|
||||
|
||||
binding.challengeFilterRecyclerView.state = RecyclerViewState.DISPLAYING_DATA
|
||||
}
|
||||
|
||||
private fun allClicked() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue