public class GenericActivity
Created by Wendell on 14-10-29.
| 限定符和类型 | 类和说明 |
|---|---|
static class |
GenericActivity.RefreshBroadcastReceiver |
static class |
GenericActivity.RefreshTypeMap |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
bindRefreshTypes()
override this method to bind refresh types. use binder.put to bind types,should put both type and callback data.
|
void |
onCreate() |
void |
onDestroy() |
void |
onPause() |
void |
onRequestPermissionsResult() |
void |
onResume() |
void |
recreate() |
void |
refresh() |
void |
requestPermissionsIfNeeded() |
static void |
sendRefresh()
����ˢ��֪ͨ��֧���������߳��з��� ͨ������һЩ������µ�֪ͨ��ע�ⲻҪ����ִ��ָ���Ϊһ��Activity/Fragment�����պ��ղ���ָ��˺�����������棬����ǰ�߲���������� ���Ҫ����ִ��ָ����Կ���startActivity(intent)��launchMode�����
|
public void onCreate()
public void onResume()
public void onPause()
public void onDestroy()
public void requestPermissionsIfNeeded()
public void onRequestPermissionsResult()
public void bindRefreshTypes()
override this method to bind refresh types.
use binder.put to bind types,should put both type and callback data.
public static void sendRefresh()
����ˢ��֪ͨ��֧���������߳��з���
ͨ������һЩ������µ�֪ͨ��ע�ⲻҪ����ִ��ָ���Ϊһ��Activity/Fragment�����պ��ղ���ָ��˺�����������棬����ǰ�߲����������
���Ҫ����ִ��ָ����Կ���startActivity(intent)��launchMode�����
public void recreate()
public void refresh()