T Tomas Petrus Active Member Licensed User Longtime User Jun 3, 2014 #1 Hi, i want to reload my Activity and i am trying do it like this: B4X: Sub Reload Activity.RemoveAllViews Activity.LoadLayout("1") End Sub it doest't work. I have ListView here and it will never go away. Background change his color to grey. is there simple way how to do that? I am beginner with B4A so sorry for maybe stupid question and for my english. Thank you for answer
Hi, i want to reload my Activity and i am trying do it like this: B4X: Sub Reload Activity.RemoveAllViews Activity.LoadLayout("1") End Sub it doest't work. I have ListView here and it will never go away. Background change his color to grey. is there simple way how to do that? I am beginner with B4A so sorry for maybe stupid question and for my english. Thank you for answer
klaus Expert Licensed User Longtime User Jun 3, 2014 #2 What exactly do you want to do ? Why removing a layout and reload it again ? Could you upload your project as a zip file (IDE menu Files / Export As Zip) so we could have a look at it. Upvote 0
What exactly do you want to do ? Why removing a layout and reload it again ? Could you upload your project as a zip file (IDE menu Files / Export As Zip) so we could have a look at it.
T Tomas Petrus Active Member Licensed User Longtime User Jun 6, 2014 #3 thx for answer I solved it. I wanted to load actual data from SQL into ListView by button click. I did it by B4X: ListView1.Clear and i filled it again. Upvote 0
thx for answer I solved it. I wanted to load actual data from SQL into ListView by button click. I did it by B4X: ListView1.Clear and i filled it again.