public class SubmitLogFragment
extends Fragment
Fragment to preview and submit logcat information to a public pastebin.
Activities that contain this fragment must implement the
SubmitLogFragment.OnLogSubmittedListener interface
to handle interaction events.
Use the newInstance(java.lang.String, java.lang.String) factory method to
create an instance of this fragment.| Modifier and Type | Class and Description |
|---|---|
static interface |
SubmitLogFragment.OnLogSubmittedListener
This interface must be implemented by activities that contain this
fragment to allow an interaction in this fragment to be communicated
to the activity and potentially other fragments contained in that
activity.
|
| Constructor and Description |
|---|
SubmitLogFragment() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getMemoryClass(android.content.Context context) |
static java.lang.String |
getMemoryUsage(android.content.Context context) |
static SubmitLogFragment |
newInstance() |
static SubmitLogFragment |
newInstance(java.lang.String supportEmailAddress,
java.lang.String supportEmailSubject)
Use this factory method to create a new instance of
this fragment using the provided parameters.
|
void |
onAttach(android.app.Activity activity) |
void |
onCreate(android.os.Bundle savedInstanceState) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDetach() |
void |
onResume() |
void |
onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState) |
public static SubmitLogFragment newInstance(java.lang.String supportEmailAddress, java.lang.String supportEmailSubject)
public static SubmitLogFragment newInstance()
public void onCreate(android.os.Bundle savedInstanceState)
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 onAttach(android.app.Activity activity)
public void onResume()
public void onDetach()
public static java.lang.String getMemoryUsage(android.content.Context context)
public static java.lang.String getMemoryClass(android.content.Context context)