FastCell

4 posts, 0 answers
  1. Elad
    Elad avatar
    14 posts
    Member since:
    Jun 2012

    Posted 19 Feb Link to this post

    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

  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 22 Feb Link to this post

    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
  3. DevCraft banner
  4. Gagan
    Gagan avatar
    6 posts
    Member since:
    Nov 2015

    Posted 25 May in reply to Pavel R. Pavlov Link to this post

    Could you please provide a link to that thread where you answered this question. Thank you!
  5. Elad
    Elad avatar
    14 posts
    Member since:
    Jun 2012

    Posted 25 May in reply to Gagan Link to this post

    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.

Back to Top
DevCraft banner