com.futureplatforms.kirin.android.app.KirinFragment Maven / Gradle / Ivy
The newest version!
package com.futureplatforms.kirin.android.app;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import com.futureplatforms.kirin.IKirinNativeObject;
import com.futureplatforms.kirin.KirinModule;
abstract public class KirinFragment, KirinNativeObj extends IKirinNativeObject>
extends Fragment implements IKirinNativeObject, IKirinModuleHost {
private Module module;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
KirinAndroidMethods.onCreate(this);
}
@Override
public void onDestroy() {
super.onDestroy();
KirinAndroidMethods.onUnload(this);
}
@Override
public Module getModule() {
return module;
}
@Override
public void setModule(Module module) {
this.module = module;
}
}