Android Question One Activity, 2 Layout problem.

Sataneq

New Member
Hi. Firstly I want to say I'm beginner. I made few apps already but basic quiz or similar ones. Now I want make next step by adding few Layouts in one activity. My first quiz had 14 Activities. Each one for another question. And that is a bit weird. I found easier way to do it but it doesn't make sens to me.
Now my question is can anybody explain me this or if you know easier way to do it?

Sub RemoveViews
Dim i As Int

For i=Activity.NumberOfViews-1 To 0 Step -1
Activity.RemoveViewAt(i)
Next
End Sub

I have 2 layouts already. The app work fine but I want to understand what I'm writing right?

Thank you anybody for answer!!!!
 
Top