org.whispersystems.libpastelog
Class SubmitLogFragment
java.lang.Object
Fragment
org.whispersystems.libpastelog.SubmitLogFragment
public class SubmitLogFragment
- extends Fragment
A helper 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.
|
Nested Class Summary |
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. |
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubmitLogFragment
public SubmitLogFragment()
newInstance
public 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.
- Returns:
- A new instance of fragment SubmitLogFragment.
newInstance
public static SubmitLogFragment newInstance()
onCreate
public void onCreate(android.os.Bundle savedInstanceState)
onCreateView
public android.view.View onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)
onViewCreated
public void onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState)
onAttach
public void onAttach(android.app.Activity activity)
onResume
public void onResume()
onDetach
public void onDetach()