Hi all,
I built an app to show a ListView with different layout of each row
within it.
I extend BaseAdapter to construct my own adapter class and override
its getView() method.
In getView() method, I use
view = mInflater.inflate(mResource, parent, false);
to obtain which layout xml file that be needed to generate different
layout for each row.
After coding and running, the problem occurs.
While I'm scrolling the list, this app crashes and pop-up an warning
dialog that says
"The application has stopped expectedly. Please try again."
If I use the same layout xml file to enable each row has the same
layout, everything is all right.
Does somebody has any ideas about that?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---