Buttons

roarnold

Active Member
Licensed User
Longtime User
Question:

I have a screen that presents four buttons to select from and it accomplishes specific tasks. The question I have is if one of the buttons is only needed once can I removed it from subsequent viewing the next time the individual runs the application? For example if the button is only utilized for registration I could change the button text I suppose but can I make it where it will not be seen again short of having two applications?

Thanks,
R
 

JonPM

Well-Known Member
Licensed User
Longtime User
There's a couple ways of doing this. You can use a Map to store a value then read it back when the application starts again.

Sent from my DROIDX using Tapatalk 2
 
Upvote 0

JonPM

Well-Known Member
Licensed User
Longtime User
How are you saving the registration data? I suppose you will be using some sort if persistent data for that. If that's the case I would do a check on one of the data values being stored for that, and if it's not equal to null then set button.visible = false.

Sent from my DROIDX using Tapatalk 2
 
Upvote 0

roarnold

Active Member
Licensed User
Longtime User
Well, I have a save data module that is storing the data in the File.DirAssets but have not returned to it yet to ensure the retrieval will result in the same view.

I saved the array as opposed to the ten item image that should work I would think.

Thanks,
R
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…