Class FozaCore

java.lang.Object
lu.die.foza.SuperAPI.FozaCore

public class FozaCore extends Object
Version:
1.0 can be use inside ContextWrapper.attachBaseContext(Context) and Activity.onCreate(Bundle)
Author:
king@62v.net
  • 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

      public static void registerCoreCallback(IFozaCoreCallback callback)
      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.