Hello, I have a problem when doing some debugging to my app. I've added a line to my code that makes a scrollpane to scroll to the bottom:
adapted from an example from here https://www.b4x.com/android/forum/threads/scrollview-automatically-scroll-to-the-bottom.27018/
Now, the problem comes when I run the app. The automatic scrolling didn't work so I set a breakpoint there to see what happened and, to my surprise, it worked as I had expected. I cleared the breakpoint and restarted the app and the autoscroll stopped working again.
I've already cleared the whole project with the IDE tool. Also tried unistalling the app on the phone and reinstalling after clearing the project again but nothing. What can I do to fix this problem?
B4X:
svOptions.ScrollPosition = svOptions.Panel.Height
sv.ScrollPosition = sv.Panel.Height
Now, the problem comes when I run the app. The automatic scrolling didn't work so I set a breakpoint there to see what happened and, to my surprise, it worked as I had expected. I cleared the breakpoint and restarted the app and the autoscroll stopped working again.
I've already cleared the whole project with the IDE tool. Also tried unistalling the app on the phone and reinstalling after clearing the project again but nothing. What can I do to fix this problem?