sonstigelist = File.ReadList(File.DirInternal, "suche" & mg & ".txt")
For i = 1 To sonstigelist.Size -1
listview12.AddSingleLine(sonstigelist.Get(i))
Next
Activity.RemoveAllViews
Activity.LoadLayout("sonstigepersonen")
The first index is 0.
Or do you want to skip the first item ?
Where is listview12 defined ?
If listview12 is defined in a previous layout you remove it with Activity.RemoveAllViews and listview12 doesn't exist anymore.
If listview12 is defined in "sonstigepersonen" then you must fill it after having loaded the layout.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.