Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How and where to store small amount of info to retrieve later?

$
0
0

Hi all,

I am almost done with my first Xamarin.Android app. It is not a very complex app so I have managed to do all of it without any I/O so far. Now there is a case where I need to store 2-3 values (possibly an integer and a couple of strings) that I later will fetch. Let me elaborate the scenario:

I want to show the login screen to an admin. Upon successful login, he will be presented with the list of shops. He selects a shop and then I need to save the ID of the shop along with the name. The rest of the app runs for the selected shop. I would implement the logic that if I don't find that ID and name it means the admin is yet to set a shop otherwise I will simply skip those two screens and start from the third.

How can I achieve that?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>