Last active
April 3, 2022 19:16
-
-
Save manoj-mili/09b7c9637fefd7496c90ca1d08cf3f21 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun observeDataChange() { | |
holidayViewModel.holidays.observe(viewLifecycleOwner, { | |
when (it) { | |
is Resource.Error -> {} | |
is Resource.Loading -> {} | |
is Resource.Success -> {} | |
} | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment