ListView Scrollevent

Hey,
How can I select a new requested message at the top and not at the bottom of the next entry?

or is there some other way to do this?

the clocktimer won't let me scroll as it keeps scrolling up automatically, I tried to integrate read when I click send message, but then only every second message is updated.


screen1
image
screen2

thats why i wont use listview cuz its so static ...

this 2 blocks eliminate the clocktimer event, so one single problem left, change the scrollevent updown
image

Knowing that reverse list places the most recent item at the top of the ListView might help you solve your issue.

reverseList2

1 Like

oh wow, that little thing ... thanks

Can you maybe tell me how I can remove the ()?

table_to_Elements

1 Like

thats a pretty cool function.

i dragdrop it to my build but hnstly i dont know how to move the blocks ^^

i still have ()

You can use brute force: replace() There are other ways, this is simple.

1 Like

thats as it looking now, srsly i have no idea

Please show/provide (in text, not an image) some example of your responseContent, then we can advise on how you structure your data

the responseContent is a excel sheet row A / B

That video really doesn't help....

      Row A          Row B

20.08.2021 15:41:24 - vizdahero: Ok

( 20.08.2021 15:41:24 - vizdahero: Ok )

if there are more messeges
(( 20.08.2021 15:41:24 - vizdahero: Ok ) ( 20.08.2021 15:41:24 - vizdahero: Ok ))

this is the responseContent

to convert the response content, which is a one column csv table into a list, use the split block and split at \n (new line)

also let me suggest to learn to debug your blocks...
use Do it to debug your blocks, see also tip 4 here https://puravidaapps.com/learn.php
see also Live Development, Testing, and Debugging Tools
Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

1 Like

ok @taifun i got it now with replace all text segment and i used ListView1 ElementsFromString instead of ListView1Elements ... however.

I just don't know how to insert a new line with \n to start a new paragraph after a messege and timestamp

what about following my previous advice?
Taifun

1 Like

hey @Taifun no offense but it is really difficult to follow the whole thing, with bad english and as a beginner
especially since I realized that the build I had made would probably be better in a different form ...
thanks !

I suggested that method so frequenfly here in the community that it is hard to count ...
for example here

and if you have language problems, why don't you post in your native language?

generally you should do some tutorials to learn the basics...
btw it seems to be, your Web2.Get call does not make much sense there...

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also do the tutorials http://appinventor.mit.edu/explore/ai2/tutorials.html to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

1 Like

i don't write in my main language because i want to learn and i'm the guy who has to do something to learn, im a bad reader - im sorry if i waste your time!

i tried a lot and that was the only way to read it straight away and leave out the timer
this little thing allow me to elimante the clocktimer, i get instant messege if a other one write in the messenger or i write on the sheet (when i use clocktimer fire 500ms im not able to scroll in list)
image

after all, it looks like this and it worked as i want

thank you @taifun @TIMAI2 and @SteveJG

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.