Closed mradzinski closed 7 years ago
i am sorry for recheck the issues so late,i am getting busy these days,, T T
it seems like the “data“ in the adapter has changed outside the adapter,as you see in the source, the "data" is just a refrence to the raw data set, so u should let the adapter knew when the raw data set changed with the "notifydatasetchanged()" method. Hope this helps.
Hi. Some of my users are experiencing the following exception:
It seems to be related to this line in particular.
data.get(position);
is returningnull
, hencedataTypes.indexOf(item.getClass());
fails with an NPE (item
is null by that time).Any idea what might be causing this?