×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Mat Ba
Added: Mar 10, 2021 1:06 PM
Views: 4763
Tags: no tags
  1. SharedPreferences sharedPref = getApplication().getSharedPreferences("io.playtext.playtext_preferences", Context.MODE_PRIVATE);
  2.         SharedPreferences.Editor editor = sharedPref.edit();
  3.         editor.putString("text_size", text_size);
  4.         editor.apply();
  5.  
  6.  
  7.