This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class AppPreferences { | |
| private SharedPreferences preferences; | |
| private SharedPreferences.Editor editor; | |
| private static AppPreferences instancePreferences; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class AppDialog { | |
| public static void showInfoDialog(Context _context, String _message, | |
| DialogInterface.OnClickListener okClickListener) { | |
| AlertDialog.Builder dialog = new AlertDialog.Builder(_context); | |
| dialog.setMessage(_message); | |
| dialog.setPositiveButton("OK", okClickListener); | |
| dialog.show(); | |
| } |
NewerOlder