samedi 4 juin 2016

Back button select case statement

I want to create a select case statement for the back button. I guess my main problem is how to dectect which layout is loaded. So something like this.

Select case Backbutton
case Layout("Main") loaded
Activity.removelayout("Main")
Acitivty.Loadlayout("test")
case layout("Two")loaded
Activity.removelayout("Two")
Acitivty.Loadlayout("THree")

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/23Rskmj
via IFTTT

Aucun commentaire:

Enregistrer un commentaire