@Override
protected void onResume() {
super.onResume();
SharedPreferences sharedPreferences = getSharedPreferences("USERPASS", PreferenceActivity.MODE_PRIVATE);
// System.out.println("name is " + sharedPreferences.getString("username", "whoami"));
// System.out.println("password is " + sharedPreferences.getString("password", "password"));
FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
if (details != null) {
details.clearList();
}
details = fragmentFactory.createRecordListFragment(tabPosition2Enum(tabPosition));
fragmentTransaction.replace(R.id.list_fragment, details);
fragmentTransaction.commit();
}
MainActivity.java 文件源码
java
阅读 31
收藏 0
点赞 0
评论 0
项目:AccountBook
作者:
评论列表
文章目录