Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final TextView value_textView1 = (TextView) findViewById(R.id.min_value_textView);
- if(value_textView1 != null)
- {
- value_textView1.setText(getApplicationContext().getSharedPreferences("appdroid", Context.MODE_PRIVATE)
- .getInt("min_value", 0));
- }
- final TextView value_textView2 = (TextView) findViewById(R.id.max_value_textView);
- if(value_textView2 != null)
- {
- value_textView2.setText(getApplicationContext().getSharedPreferences("appdroid", Context.MODE_PRIVATE)
- .getInt("max_value", 10));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement