@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // SharedPreferences hotelInfo = // Handler_SharedPreferences.ReadSharedPreferences(getContext(), "hotelInfo"); // String hotelCode = hotelInfo.getString("hotelCode", ""); // String hotelName = hotelInfo.getString("hotelName", ""); // Log.d("TAGTAGTAG", "hotelCode = " + hotelCode); // Log.d("TAGTAGTAG", "hotelName = " + hotelName); }