Skip to content

PratikSurela/PrefsLib

Repository files navigation

# PrefsLib

This is a simple example for write data into sharedpreferences and get values from it. You just need to add one class that is "PrefsUtil" from this example and use it.

  • You can read/write String,int,float,boolean types of data using simple single statement like :

    • PrefsUtil.with(context).write("key", "value");

      • PrefsUtil.with(this).write("testInt",55);
    • PrefsUtil.with(context).readInt("key"); 

      • PrefsUtil.with(this).readInt("testInt");
  • "key" is simply identification for values.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages