Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to achieve NSUserDefaults concept in Android

In iPhone we are using NSUserDefaults to temporarily store the data (around 30 images and texts) for a custom list view. How can we achieve this in Android?

like image 904
ARIJIT Avatar asked Jan 14 '23 08:01

ARIJIT


1 Answers

By using sharedpreferences concept u can achieve this.

see this link:SharedPreferences

and refer this example:example for shared preferences

like image 54
SubbaReddy PolamReddy Avatar answered Jan 16 '23 21:01

SubbaReddy PolamReddy