public class Util
extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static SharedPreferences |
getPreferences(Context context)
Get our default shared preferences
|
static void |
showAuthToast(Context context,
java.lang.String message)
Show an authorization toast on the main thread to make sure the user sees it
|
public static void showAuthToast(Context context, java.lang.String message)
context
- local contextmessage
- the message to show the userpublic static SharedPreferences getPreferences(Context context)
context
- local/application context