create

fun create(context: Context): Cache

Initializes an instance of Cache backed by Android SharedPreferences.

Parameters

context

the Context used to create the SharedPreferences instance.