Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static AuthStateManager getInstance(final Context context) {
- if (instance == null) {
- instance = new AuthStateManager(context);
- }
- return instance;
- }
- public static AuthStateManager getInstance() {
- if (instance == null) {
- throw new IllegalStateException("Context has not previously been provided");
- }
- return instance;
- }
Add Comment
Please, Sign In to add comment