native cell in android

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

    Posted 10 Jul Link to this post

    Hi,

    in order to squeeze more performance for android, I want to use custom native cell and renderer,

    example:
    similar to this: https://github.com/xamarin/xamarin-forms-samples/tree/master/WorkingWithListviewNative/Droid/D

    how this can be done on telerik's listview? a short example would be great for everyone.

    Thanks!

     

     

  2. Tsvyatko
    Admin
    Tsvyatko avatar
    832 posts

    Posted 13 Jul Link to this post

    Hello Elad,

    Thank you for contacting us. You can override ListView renderer and provide custom listview adapter similarly to the default xamarin one. Would it be possible to send us the setup of the listview you are currently using in order to send you example closest to your scenario.

    Regards,
    Tsvyatko
    Telerik by Progress
    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. Elad
    Elad avatar
    14 posts
    Member since:
    Jun 2012

    Posted 13 Jul in reply to Tsvyatko Link to this post

    Hi Tsvyatko,

    its very simple actually, just an image with few labels with texts. (similar to ebay's app)

    I'm using absolute layout for better performance, but the idea is the same.

    you can assume just 3 labels, ProductName, ShortDescrption and Price.

     

  5. Elad
    Elad avatar
    14 posts
    Member since:
    Jun 2012

    Posted 14 Jul Link to this post

    any updates with this issue?
  6. Answer
    Tsvyatko
    Admin
    Tsvyatko avatar
    832 posts

    Posted 14 Jul Link to this post

    Hi Elad,

    Thank you for getting back to us. I have prepared sample project demonstrating how to bypass all shared logic for creating native listview adapter for maximum performance. Please have a look and let me know if it helps.


    Regards,
    Tsvyatko
    Telerik by Progress
    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
  7. Elad
    Elad avatar
    14 posts
    Member since:
    Jun 2012

    Posted 14 Jul in reply to Tsvyatko Link to this post

    Awesome! Thank you!
Back to Top
DevCraft banner