Answer the question
In order to leave comments, you need to log in
How to implement listview custom adapter in fragment android?
Hello.
We need a good example of how to implement custom foliage in a fragment.
I've been suffering for a week and a half. The problem is that when you replace this with getActivity() , the app still crashes.
Thank you for your attention.
Answer the question
In order to leave comments, you need to log in
Flying out of NPE? Perhaps you are trying to access the activity before it was created. Please provide your code (the part with passing the context to the listview).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question