Package lu.die.foza.SuperAPI
Class FozaCore
java.lang.Object
lu.die.foza.SuperAPI.FozaCore
- Version:
- 1.0
can be use inside
ContextWrapper.attachBaseContext(Context)andActivity.onCreate(Bundle) - Author:
- king@62v.net
-
Method Summary
Modifier and TypeMethodDescriptionstatic android.content.ContextGet the application base context (of the host app)static voidregisterCoreCallback(IFozaCoreCallback callback) You can render your app ui after our core done all initialize progresses.static voidstartup(android.content.Context context) Can be called inside the attachBaseContext block.
-
Method Details
-
getHostContext
public static android.content.Context getHostContext()Get the application base context (of the host app)- Returns:
- base context
-
startup
public static void startup(android.content.Context context) Can be called inside the attachBaseContext block.FozaCore.startup(base)- Parameters:
context- application base context- See Also:
-
ContextWrapper.attachBaseContext(Context)
-
registerCoreCallback
You can render your app ui after our core done all initialize progresses. You should call this method to assure that our core done the initialize.- Parameters:
callback- will receive a callback after the init progress done.
-