[F/OS] Recycler List View - Render larger data sets efficiently using `RecyclerView` for AppInventor & Distros

Well-done!! How did you achieve this, Can I learn this too from you, of course a lot learnt from you?

Use beta version of extension and use Data to set RecyclerList not Count

image

Give text box a unique id based on position and bind data using dataitem
image

When any textbox change, change values in global table using replace item at index and if you are using tinyDB once changes made to table, store it again to tinyDB. If you wish to update also your database then you have use a script to update gsheet also using web component
You can download beta version and test it from here

Oh… You achieved it by another version… great… let me try it. Thank you @dora_paz

1 Like

I found it easier to get the whole table in a list of lists using list from csv table list and work with it

1 Like

You can use the latest version from main branch. It is working fine. Moreover it adds Data property and scroll listeners.

4 Likes

how i can add image in this extension ???

Value (Image of type java.lang.String cannot be converted to JSONObject

There is no property for the key image in dictionary mode… you need to replace it with Picture instead of image, just try it…

1 Like

i tried also picture not working
Value (Picture of type java.lang.String cannot be converted to JSONObject

Can you show us your full procedure regarding creation of picture ? Or you can use image utility component too adding image through asynchronous



create view + bindview

Where are images located in assets or you have added url’s to spreadsheet?

For example, images loaded from url saved in gsheet

1 Like

url in google sheets

https://i.ibb.co/w7gshcT/20220305182551.png

1 Like

yes working but if you move to the scroll , all the drugs have same image why ?
i add the link only for 3 drug

Make sure you are setting image properly in perfect position…

1 Like

Are you using Set RecyclerList to get count ? Better work with get Data

1 Like

Yes :cupid::slightly_smiling_face: get count
See the video
In google sheet I add the image link only for 3 drugs named (gold d3)


But after search to gold d3 and scroll >>> some drugs have the same image :cry:
I cant use get data I don’t want to do it from scratch

2 Likes

Hello koders, will someone get time to help me create a chatview with this extension
Here I have used Dynamic Component so I want to use this recycle List View instead of Dynamic Component

Take a look of my blocks I have used on this AIA
D_ChatView.aia (584.4 KB)

I wish if someone is capable to add some feature like audio text like telegram does
image

I will appreciate for more advanced help