public abstract class _HoloFragment extends Fragment implements IHoloFragment
Fragment.InstantiationException, Fragment.SavedStateIAddonAttacher.AddonCallback<V>, IAddonAttacher.AttachException| Constructor and Description |
|---|
_HoloFragment() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dontSaveMe() |
int |
getContainerId() |
ContextMenuListener |
getContextMenuListener(android.view.View view) |
SharedPreferences |
getDefaultSharedPreferences() |
SharedPreferences |
getDefaultSharedPreferences(HoloEverywhere.PreferenceImpl impl) |
abstract LayoutInflater |
getLayoutInflater() |
LayoutInflater |
getLayoutInflater(android.os.Bundle savedInstanceState)
Deprecated.
|
MenuInflater |
getMenuInflater() |
SharedPreferences |
getSharedPreferences(HoloEverywhere.PreferenceImpl impl,
java.lang.String name,
int mode) |
SharedPreferences |
getSharedPreferences(java.lang.String name,
int mode) |
ActionBar |
getSupportActionBar() |
android.content.Context |
getSupportActionBarContext() |
Activity |
getSupportActivity() |
Application |
getSupportApplication() |
FragmentManager |
getSupportFragmentManager() |
java.lang.Object |
getSystemService(java.lang.String name) |
boolean |
isDetachChildFragments() |
void |
onAttach(Activity activity) |
void |
onAttach(android.app.Activity activity) |
boolean |
onContextItemSelected(android.view.MenuItem item) |
boolean |
onContextItemSelected(MenuItem item) |
void |
onContextMenuClosed(ContextMenu menu) |
void |
onCreateContextMenu(android.view.ContextMenu menu,
android.view.View v,
android.view.ContextMenu.ContextMenuInfo menuInfo) |
void |
onCreateContextMenu(ContextMenu menu,
android.view.View v,
android.view.ContextMenu.ContextMenuInfo menuInfo) |
void |
onCreateOptionsMenu(android.view.Menu menu,
android.view.MenuInflater inflater) |
void |
onCreateOptionsMenu(Menu menu,
MenuInflater inflater) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
android.view.View |
onCreateView(LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDestroyView() |
void |
onInflate(Activity activity,
android.util.AttributeSet attrs,
android.os.Bundle savedInstanceState) |
void |
onInflate(android.app.Activity activity,
android.util.AttributeSet attrs,
android.os.Bundle savedInstanceState) |
boolean |
onOptionsItemSelected(android.view.MenuItem item) |
boolean |
onOptionsItemSelected(MenuItem item) |
void |
onPrepareOptionsMenu(android.view.Menu menu) |
void |
onPrepareOptionsMenu(Menu menu) |
void |
onViewCreated(android.view.View view)
Deprecated.
|
void |
onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState) |
boolean |
openContextMenu(android.view.View v) |
void |
registerForContextMenu(android.view.View view) |
void |
setDetachChildFragments(boolean detachChildFragments)
If true this fragment will be detach all inflated child fragments after
destory view
|
void |
unregisterForContextMenu(android.view.View view) |
dump, equals, getActivity, getArguments, getChildFragmentManager, getFragmentManager, getId, getLoaderManager, getParentFragment, getResources, getRetainInstance, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isVisible, onActivityCreated, onActivityResult, onConfigurationChanged, onCreate, onCreateAnimation, onDestroy, onDestroyOptionsMenu, onDetach, onHiddenChanged, onLowMemory, onOptionsMenuClosed, onPause, onResume, onSaveInstanceState, onStart, onStop, onViewStateRestored, setArguments, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setRetainInstance, setTargetFragment, setUserVisibleHint, startActivity, startActivityForResult, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitstartActionModeaddon, addon, addon, isAddonAttached, lockAttaching, obtainAddonsList, performAddonActionprotected void dontSaveMe()
public final int getContainerId()
public ContextMenuListener getContextMenuListener(android.view.View view)
getContextMenuListener in interface ContextMenuDecorView.ContextMenuListenersProviderpublic SharedPreferences getDefaultSharedPreferences()
getDefaultSharedPreferences in interface IHologetDefaultSharedPreferences in interface IHoloFragmentpublic SharedPreferences getDefaultSharedPreferences(HoloEverywhere.PreferenceImpl impl)
getDefaultSharedPreferences in interface IHolopublic abstract LayoutInflater getLayoutInflater()
getLayoutInflater in interface IHolo@Deprecated public LayoutInflater getLayoutInflater(android.os.Bundle savedInstanceState)
getLayoutInflater in interface IHoloFragmentgetLayoutInflater in class Fragmentpublic MenuInflater getMenuInflater()
public SharedPreferences getSharedPreferences(HoloEverywhere.PreferenceImpl impl, java.lang.String name, int mode)
getSharedPreferences in interface IHolopublic SharedPreferences getSharedPreferences(java.lang.String name, int mode)
getSharedPreferences in interface IHologetSharedPreferences in interface IHoloFragmentpublic ActionBar getSupportActionBar()
getSupportActionBar in interface IHoloFragmentpublic android.content.Context getSupportActionBarContext()
public Activity getSupportActivity()
getSupportActivity in interface IHoloFragmentpublic Application getSupportApplication()
getSupportApplication in interface IHolopublic FragmentManager getSupportFragmentManager()
getSupportFragmentManager in interface IHoloFragmentpublic java.lang.Object getSystemService(java.lang.String name)
public boolean isDetachChildFragments()
public void onAttach(Activity activity)
public final void onAttach(android.app.Activity activity)
public final boolean onContextItemSelected(android.view.MenuItem item)
onContextItemSelected in class Fragmentpublic boolean onContextItemSelected(MenuItem item)
onContextItemSelected in interface ContextMenuListenerpublic void onContextMenuClosed(ContextMenu menu)
onContextMenuClosed in interface ContextMenuListenerpublic final void onCreateContextMenu(android.view.ContextMenu menu,
android.view.View v,
android.view.ContextMenu.ContextMenuInfo menuInfo)
onCreateContextMenu in interface android.view.View.OnCreateContextMenuListeneronCreateContextMenu in class Fragmentpublic void onCreateContextMenu(ContextMenu menu, android.view.View v, android.view.ContextMenu.ContextMenuInfo menuInfo)
onCreateContextMenu in interface ContextMenuListenerpublic final void onCreateOptionsMenu(android.view.Menu menu,
android.view.MenuInflater inflater)
onCreateOptionsMenu in class Fragmentpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
onCreateOptionsMenu in interface Watson.OnCreateOptionsMenuListenerpublic final android.view.View onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)
onCreateView in class Fragmentpublic android.view.View onCreateView(LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
onCreateView in interface IHoloFragmentpublic void onDestroyView()
onDestroyView in class Fragmentpublic void onInflate(Activity activity, android.util.AttributeSet attrs, android.os.Bundle savedInstanceState)
onInflate in interface IHoloFragmentpublic final void onInflate(android.app.Activity activity,
android.util.AttributeSet attrs,
android.os.Bundle savedInstanceState)
public final boolean onOptionsItemSelected(android.view.MenuItem item)
onOptionsItemSelected in class Fragmentpublic boolean onOptionsItemSelected(MenuItem item)
onOptionsItemSelected in interface Watson.OnOptionsItemSelectedListenerpublic final void onPrepareOptionsMenu(android.view.Menu menu)
onPrepareOptionsMenu in class Fragmentpublic void onPrepareOptionsMenu(Menu menu)
onPrepareOptionsMenu in interface Watson.OnPrepareOptionsMenuListener@Deprecated public void onViewCreated(android.view.View view)
onViewCreated(View, Bundle) insteadpublic void onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState)
onViewCreated in class Fragmentpublic boolean openContextMenu(android.view.View v)
public void registerForContextMenu(android.view.View view)
registerForContextMenu in class Fragmentpublic void setDetachChildFragments(boolean detachChildFragments)
public void unregisterForContextMenu(android.view.View view)
unregisterForContextMenu in class FragmentCopyright © 2012-2013. All Rights Reserved.