-2

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.

  • 3
    Possible 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 Answers1

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