Back to project page kirin-for-android.
The source code is released under:
Apache License
If you think the Android project kirin-for-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.futureplatforms.kirin.helpers; /* w w w . j ava 2 s . com*/ import android.app.Activity; public interface IKirinExtensionHelper extends IKirinHelper { /** * Lifecycle method. Should never be called by application code. * * This will be called after all extensions have had their onLoad methods called. */ void onStart(); /** * Lifecycle method. Should never be called by application code. * * This will be called on all extensions before any onLoad methods * are called. */ void onStop(); /** * The current screen activity, if any. This is useful to have if you * need to do anything like launch another activity. * @return */ Activity getActivity(); /** * Call this if you are about to launch an activity. * * It is not clear if you'll need your extension to implement * `IKirinExtensionOnUiThread`. It will be set inactive automatically. */ void setActive(); }