A "extends Tabactivity" class cannot instantiate methods from other classes?

Asked

Viewed 27 times

1

I made some tabs via java code and needed to receive a method from another class that would return an array, scan the array and fill my tabs, but from the error of "Nullpointerexception" and when I do the instance of the same method in an Activity that "extends Activity" works normally.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.