posted 2 years ago
I am implementing a project which requires visualizing data with a recycler view. I am having an issue with the charactersFragment (which queries character data from StarWars api) and presents them on the fragment with the use of an adapter:
The api responses with onCharactersLoadedSuccess() :
And then i am setting the recycleradapter to show the data:
All the above code is handled on charactersFragment.
For some reason i am getting both viwes (progressBar and Recycler) as not initialized (null references). What is the issue? How can i fix this?
android android-recyclerview null