arch-android

//Android/br.com.arch.toolkit.android.util/get

get

[android]
operator fun <T : Any> ERROR CLASS: Symbol not found for SharedPreferences.get(key: String): T?

Retrieves a value from SharedPreferences using operator overloading.

Return

The value if it exists, or null otherwise.

Parameters

android

   
key The name of the preference to retrieve.