Android, Can I Update Grid View Without Using Notifydatasetchanged?
Android App. has custom product GridView (ProductImage/ProductPrice/ProductDiscount).. every time user scroll down the App. fetch new products and updating GridView using notifyDat
Solution 1:
I would suggest using RecyclerView like Vogella is showing here
than you can add items and use on of those
RecyclerView.Adapter.notifyItemChanged(int position);
RecyclerView.Adapter.notifyItemInserted(int position);
RecyclerView.Adapter.notifyItemRangeInserted(int positionStart, int positionEnd);
RecyclerView.Adapter.notifyItemRangeChanged(int positionStart, int positionEnd);
Post a Comment for "Android, Can I Update Grid View Without Using Notifydatasetchanged?"