This is a migrated thread and some comments may be shown as answers.

FastCell

3 Answers 91 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Elad
Top achievements
Rank 1
Elad asked on 19 Feb 2016, 08:14 AM

Hi,
both Xamarin listview and Telerik's Radlistview, for some reason, has expensive binding and initialization. this cause to performance penalty.

luckily, there is a solution for that, called fastcell.
https://github.com/twintechs/TwinTechsFormsLib

I have tested the library, and indeed performance are much better, especially on old devices.

however, I couldn't find a way to integrate the fastcell with the telerik's listview.

also there isn't a custom renderer for cell, so its not possible to override it.

any suggestions?

Thanks

3 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 22 Feb 2016, 12:06 PM
Hello,

I have already answered to this question in the other thread you have opened. Please refer to it and keep the communication there.

Regards,
Pavel R. Pavlov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Gagan
Top achievements
Rank 1
answered on 25 May 2016, 04:25 PM
Could you please provide a link to that thread where you answered this question. Thank you!
0
Elad
Top achievements
Rank 1
answered on 25 May 2016, 04:32 PM

Hi,

there is no need to actually use that, because Telerik Listview is quite optimized well. (In my case, I ended with building cell content with absolute layout and it did solve the performance issues)

however, this is the answer I got:

You can see that the OnCreateViewHolder() method is of type ListViewHolder. 
So you should return an object of that type. 
Such objects are created based on a XamarinForms Cell. 
That is why you will need to first create a Cell. 
Next you can use CellFactory.GetCell() method in order to get the XamarinForms View that is used in the cell. 
Using that View you will be able to create the needed ListViewHolder object.

Tags
ListView
Asked by
Elad
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Gagan
Top achievements
Rank 1
Elad
Top achievements
Rank 1
Share this question
or