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

native cell in android

5 Answers 63 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Elad
Top achievements
Rank 1
Elad asked on 10 Jul 2016, 04:15 PM

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!

 

 

5 Answers, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 13 Jul 2016, 10:19 AM
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
0
Elad
Top achievements
Rank 1
answered on 13 Jul 2016, 10:53 AM

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.

 

0
Elad
Top achievements
Rank 1
answered on 14 Jul 2016, 12:21 PM
any updates with this issue?
0
Accepted
Tsvyatko
Telerik team
answered on 14 Jul 2016, 02:35 PM
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
0
Elad
Top achievements
Rank 1
answered on 14 Jul 2016, 06:22 PM
Awesome! Thank you!
Tags
ListView
Asked by
Elad
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Elad
Top achievements
Rank 1
Share this question
or