6

I am writing an Android application, using a GridView to load a list of ImageView items through an Adapter. It all works fine, except the first item loaded in GridView had null value for its mAttachInfo variable.

I guess it could be because the first item is either selected or focused, which causes the mAttachInfo set to null, other items have correct mAttachInfo set.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
jason
  • 69
  • 2

0 Answers0