public class MirroringWebViewFragment extends MirroringFragment
Constructor and Description |
---|
MirroringWebViewFragment() |
Modifier and Type | Method and Description |
---|---|
android.webkit.WebView |
getWebView()
Gets the WebView.
|
protected android.view.View |
onCreateMirroredContent(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)
Override this to provide the content to be mirrored.
|
void |
onDestroy()
Called when the fragment is no longer in use.
|
void |
onDestroyView()
Called when the WebView has been detached from the
fragment.
|
void |
onPause()
Called when the fragment is visible to the user and
actively running.
|
void |
onResume()
Called when the fragment is no longer resumed.
|
onCreateView, setMirror, updateMirror
protected android.view.View onCreateMirroredContent(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
onCreateMirroredContent
in class MirroringFragment
inflater
- a LayoutInflater for your layout inflation conveniencecontainer
- the ViewGroup that will hold the View that you return
(but do not add the View to the ViewGroup yourself, please)savedInstanceState
- from a previous instance's onSaveInstanceState()public void onPause()
public void onResume()
public void onDestroyView()
public void onDestroy()
public android.webkit.WebView getWebView()