check login method wil check user login status if false it will redirect user to login page else wo n't do anything concode_field_sep String KEY_CITY concode_elem_sep Editor editor concode_elem_sep Context _context concode_elem_sep SharedPreferences pref concode_elem_sep String KEY_NAME concode_elem_sep String KEY_EMAIL concode_elem_sep String IS_SECOND_VISIT concode_elem_sep String PREF_NAME concode_elem_sep String IS_LOGIN concode_elem_sep String KEY_SPORT concode_elem_sep int PRIVATE_MODE concode_field_sep HashMap<String,String> getUserDetails concode_elem_sep void setIsSecondVisit concode_elem_sep SBO_Sport getSportPref concode_elem_sep void logoutUser concode_elem_sep void setCitySportPref concode_elem_sep boolean getIsSecondVisit concode_elem_sep void createLoginSession concode_elem_sep boolean isLoggedIn concode_elem_sep void setCityIdPref
SBO_City function ( ) { String loc0 = pref . getString ( KEY_CITY , null ) ; SBO_City loc1 = new SBO_City ( ) ; if ( loc0 != null ) { loc1 . setName ( loc0 ) ; int loc2 = pref . getInt ( loc0 , - 1 ) ; loc1 . setID ( loc2 ) ; } return loc1 ; }