that several hours that I do and I redo. already without the solutions proposed here or there in this post for example https://community.thunkable.com/t/json-bound-data-list-viewer-no-more-cloning/1041807
so that the data is displayed without problem (which happens once in 10) and well here I am desperately clicking on a line and nothing happens (I made sure that something is happening write a text in a label)
And yet it’s not the hardest thing to do.
I’m disillusioned the clones or the solution mentioned above are difficult to implement for data display without the headache
my biggest problem is the display of a series of data from a table used as the data source of a dvl (a custom dvl)
it’s jerky and it takes forever
I had another difficulty it was the click but that’s solved
these blocks are complete lists and yet the loading of about twenty lines takes a lot of time
moreover in a second block group I also use a json block and it’s not terrible on my phone on the other hand on my pc it’s ok
it is about recursive function i am unable to implement it in my case
in desperation I will use a listview if someone knows a transparent character that will allow me to align the columns (of course I can use the underscore) or else redesign the interface
whether it is the clones or the custom DVLs that I have used with more or less success I am disappointed there are too many unpredictable results that I cannot resolve
you introduce a hack for DVL can i use it with stp ? and does it work with custom DVL ?
update :
i tried the hack
and the big problem now is that the dvl displays as many rows as there are in the table and not what my smaller list contains
maybe it’s mentioned in the video but we have some problem to watch it from 6:43 in the timeline
update
I managed to use this hack that you took the trouble to present to us
I exited the loop by comparing my list of data to the length of the list of rowids
It retrieves 100 posts from a JSON test website and then list the posts in cloned view. I am interested to know the speed. Remember there is a speed to retrieve the list using Web API and there is the speed it goes through the 100 posts and clone it in the column to produce something similar to DVL. I’m interested in the second speed. Not the API.
I tried your solution (without wait without recursive function)
I note that it is very fast between the disappearance of fetching post and the display of the number of post
and without display bug apparently how is this possible?
I realized that the use of clones was very fast but I gave up because I had bugs in the display and moreover as always I use firebase and I had to use two series of clones to use the data changed blocks
but like you I load the object at once
is it the construction of my clone that is the problem?
I wouldn’t know because I did not see how your clones are constructed.
I made this sample project to show you that you can get extremely fast results when using clones with any JSON list such as the ones you retrieve from Firebase.
From experience, I can vote for cloning whenever I want to make a list from Firebase.
Of course you can use DVL but you will need one of two methods with the use of a local table:
Add your records to the local table which is bound to the DVL.
Make empty rows in the local table the same number of records you have then go through the DVL rows filling the data from your record list.
Both methods are similar to the cloning method but has an additional step(s) to maintain the local table.
I am convinced of the speed of the clones and it is partly thanks to you
I had to look for another solution, I was getting too many unpredictable results and all these tips or tricks that you have to find to make it work, it’s frustrating and yet your example works perfectly
I tried the dvl hack, it’s not bad but it’s slower than the clones it’s clear for now I’ll settle for that
As I understand, @bibbi uses StP primarily. In the other hand, the layout component is still in Beta and would not be a good idea to use it for an app to be published in the store to the public.
After all, you should not expect a quick fix for any issue in the beta version that could have an impact in user experience. If you choose to use the beta version then you should accept to publish your app with all its issues.
I was finally able to take a look at your project, it’s a very pretty and powerful demonstration
which gives me even more regrets for not being able to produce my simple example of cloning
I manage to make clones but more often than rarely I get unpredictable results that ruin everything
one day, a member of the forum will develop an infallible tutorial
I took your exampleevery time i press the button it adds a series of clones
how to remove old clones?
I thought save the clones in a list then remove them with a loop for each but it does not work
when i do a remove all column in cs it also erases the original