simplelistview icon indicating copy to clipboard operation
simplelistview copied to clipboard

SimpleListView Scrolling Issue

Open NazarAbbas opened this issue 10 years ago • 7 comments

Hi, first of all thanks for amazing SimpleListView, but I'm facing an issue.When we use SimpleListView within a scrollview then rows of SimpleListView decrease their size automatically on scrolling.

Can you help me to remove this issue?

Thanks in advance.

NazarAbbas avatar Sep 05 '15 20:09 NazarAbbas

Thanks for the reporting this issue, just to clarify, you mean the height/width?

orhanobut avatar Sep 06 '15 08:09 orhanobut

Heights decrease their sizes.

I'm facing another a big issue I have more data to bind SimpleListView,but when use notifyDataSetChanged then it takes lot of time, how can I remove this issue?

Thanks

NazarAbbas avatar Sep 06 '15 18:09 NazarAbbas

You should not use simplelistview if you have a lot of data, the idea was to avoid using listview when you have a few items within scrollview. Each time when you do notifydatasetchanges, it will create each time again

orhanobut avatar Sep 09 '15 08:09 orhanobut

Thanks for reply, But any other idea to avoid listview if I have lots of data?

NazarAbbas avatar Sep 09 '15 16:09 NazarAbbas

how many item do you have in the list and how is the complexity of the item view?

orhanobut avatar Sep 09 '15 16:09 orhanobut

I think we could introduce a new method to update only the given position, that would help a lot for the performance, would that solve your problem?

orhanobut avatar Sep 09 '15 16:09 orhanobut

RecyclerView? :smiley: What's the problem with ListView?

akbashev avatar Sep 09 '15 16:09 akbashev