Why is this line: g.setAdapter(new ImageAdapter(this)); giving me the error 'Constructor Undefined'? I used this guide to make tabs http://www.androidbegin.com/tutorial/impleme
Solution 1:
Replace that line with
g.setAdapter(newImageAdapter(getActivity()));
Fragment doesn't inherit from Context.
Share
Post a Comment
for "Why Am I Getting A Constructor Undefined Error?"
Post a Comment for "Why Am I Getting A Constructor Undefined Error?"