Created
September 22, 2015 18:35
-
-
Save fredgrott/db252588ff4a8cd70a8e to your computer and use it in GitHub Desktop.
Proxy to load the SavingState as a Singleton in the app class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class MyExtendedSavingStateProvider extends BaseSavingStateProvider{ | |
private static final MyExtendedBaseSavingSate mySavingState = new MyExtendedBaseSavingState(objectGlobalOne, objectGlobalTwo); | |
public static MyExtendedBaseSavingState getInstance(){ | |
return mySavingState; | |
} | |
private MyExtendedSavingStateProvider(){ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment