java.lang.Object | |
↳ | com.mapsted.template_core.managers.PreferenceManager |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
addFacebookTokenId(String facebookTokenId)
Adds Facebook's token id to the shared preferences to fetch it later for easy login
| ||||||||||
void |
addGoogleTokenId(String googleTokenId)
Adds Google's token id to the shared preferences to fetch it later for easy login
| ||||||||||
void | addMapstedIdPostLogin(String mapstedId) | ||||||||||
String |
getFacebookTokenId()
Gets Facebook Token Id from the shared preferences to enable easy login
| ||||||||||
String |
getGoogleTokenId()
Gets Google Token Id from the shared preferences to enable easy login
| ||||||||||
synchronized static PreferenceManager | getInstance(Context context) | ||||||||||
String | getMapstedId() | ||||||||||
UserProfile | getUserProfile() | ||||||||||
void | storeUserProfile(UserProfile userProfile) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Adds Facebook's token id to the shared preferences to fetch it later for easy login
facebookTokenId | String value for facebook token id |
---|
Adds Google's token id to the shared preferences to fetch it later for easy login
googleTokenId | String value for google token id |
---|
Gets Facebook Token Id from the shared preferences to enable easy login
Gets Google Token Id from the shared preferences to enable easy login