public class UpdateDialogFragment
extends DialogFragment
implements android.view.View.OnClickListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY_UPDATE_ENTITY |
static java.lang.String |
KEY_UPDATE_PROMPT_ENTITY |
static int |
REQUEST_CODE_REQUEST_PERMISSIONS |
| Constructor and Description |
|---|
UpdateDialogFragment() |
| Modifier and Type | Method and Description |
|---|---|
static UpdateDialogFragment |
newInstance(UpdateEntity updateEntity,
IUpdateProxy updateProxy,
PromptEntity promptEntity)
获取更新提示
|
void |
onActivityCreated(android.os.Bundle savedInstanceState) |
void |
onClick(android.view.View view) |
void |
onCreate(android.os.Bundle savedInstanceState) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDestroyView() |
void |
onRequestPermissionsResult(int requestCode,
java.lang.String[] permissions,
int[] grantResults) |
void |
onSaveInstanceState(android.os.Bundle outState) |
void |
onStart() |
void |
onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState) |
UpdateDialogFragment |
setIUpdateProxy(IUpdateProxy updateProxy)
设置更新代理
|
void |
show(FragmentManager manager)
显示更新提示
|
void |
show(FragmentManager manager,
java.lang.String tag) |
public static final java.lang.String KEY_UPDATE_ENTITY
public static final java.lang.String KEY_UPDATE_PROMPT_ENTITY
public static final int REQUEST_CODE_REQUEST_PERMISSIONS
public static UpdateDialogFragment newInstance(UpdateEntity updateEntity, IUpdateProxy updateProxy, PromptEntity promptEntity)
updateEntity - 更新信息updateProxy - 更新代理promptEntity - 提示器参数信息public UpdateDialogFragment setIUpdateProxy(IUpdateProxy updateProxy)
updateProxy - public void onCreate(android.os.Bundle savedInstanceState)
public void onStart()
public android.view.View onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)
public void onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState)
public void onActivityCreated(android.os.Bundle savedInstanceState)
public void onClick(android.view.View view)
onClick in interface android.view.View.OnClickListenerpublic void onRequestPermissionsResult(int requestCode,
java.lang.String[] permissions,
int[] grantResults)
public void show(FragmentManager manager,
java.lang.String tag)
public void show(FragmentManager manager)
manager - public void onDestroyView()
public void onSaveInstanceState(android.os.Bundle outState)