I need help on how do i get data and display it in "textview" and "imageview" in android studio. Im making a dictionary which is controlled in the web and the users are on android phone. Please do help me.
Asked
Active
Viewed 45 times
-2
-
3Possible duplicate of [What is a NullPointerException, and how do I fix it?](https://stackoverflow.com/questions/218384/what-is-a-nullpointerexception-and-how-do-i-fix-it) – ADM Apr 23 '18 at 16:48
-
Show you java code of the activity – Arpan Sarkar Apr 23 '18 at 16:49
1 Answers
0
You didn't initialize your ListView properly , when you are setting an adapter to it , it throws a NullPointerException because it's still Null and not yet initialized

Kmelliti
- 101
- 7