Created
April 25, 2021 10:41
-
-
Save varundwarkani/eff1124be6e0acae06402e13ee885bdc 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
homeScreenViewModel.getPagedListLiveData().observe(getViewLifecycleOwner(), upcomingMatches -> { | |
Log.d(LOGGER, "getPagedListLiveData" + upcomingMatches.size()); | |
if (homeScreenBinding.recyclerView.getAdapter() != null) { | |
UpcomingMatchesViewAdapter upcomingMatchesViewAdapter = (UpcomingMatchesViewAdapter) homeScreenBinding.recyclerView.getAdapter(); | |
upcomingMatchesViewAdapter.submitList(upcomingMatches); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment