android - hasStableIds () in Expandable ListView? -
i creating app using expandablelistview ,i referred tutorials .the hasstableids () set false? exact need making hasstableids() false?
documentation of hasstableids()
indicates whether kid , grouping ids stable across changes underlying data.
returns whether or not same id refers same object
it's used when alter info of adapter, everytime alter info expandablelistview
should update it's views reflect changes.
if true expandablelistview
can reuse same view
if id same.
if false should recreate views since can't have thought changes.
the id refer id returned getgroupid
, getitemid
.
you should override methods too!
some questions:
baseadapter: set hasstableids() false? android - meaning of stableids? android expandablelistview
No comments:
Post a Comment