public class AppboyXamarinFormsFeedFragment
extends android.app.ListFragment
Modifier and Type | Class and Description |
---|---|
class |
AppboyXamarinFormsFeedFragment.FeedGestureListener |
Constructor and Description |
---|
AppboyXamarinFormsFeedFragment() |
Modifier and Type | Method and Description |
---|---|
java.util.EnumSet<CardCategory> |
getCategories() |
void |
onActivityCreated(android.os.Bundle savedInstanceState) |
void |
onAttach(android.content.Context context) |
android.view.View |
onCreateView(android.view.LayoutInflater layoutInflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDestroyView() |
void |
onDetach() |
void |
onPause() |
void |
onRefresh() |
void |
onResume() |
void |
onSaveInstanceState(android.os.Bundle outState) |
void |
setCategories(java.util.EnumSet<CardCategory> categories)
Calling this method will make AppboyFeedFragment display a list of cards where each card belongs
to at least one of the given categories.
|
void |
setCategory(CardCategory category) |
getListAdapter, getListView, getSelectedItemId, getSelectedItemPosition, onListItemClick, onViewCreated, setEmptyText, setListAdapter, setListShown, setListShownNoAnimation, setSelection
dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isStateSaved, isVisible, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreate, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroy, onDestroyOptionsMenu, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPictureInPictureModeChanged, onPictureInPictureModeChanged, onPrepareOptionsMenu, onRequestPermissionsResult, onStart, onStop, onTrimMemory, onViewStateRestored, postponeEnterTransition, registerForContextMenu, requestPermissions, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
public void onAttach(android.content.Context context)
onAttach
in class android.app.Fragment
public android.view.View onCreateView(android.view.LayoutInflater layoutInflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
onCreateView
in class android.app.ListFragment
public void onActivityCreated(android.os.Bundle savedInstanceState)
onActivityCreated
in class android.app.Fragment
public void onResume()
onResume
in class android.app.Fragment
public void onDestroyView()
onDestroyView
in class android.app.ListFragment
public void onPause()
onPause
in class android.app.Fragment
public void onDetach()
onDetach
in class android.app.Fragment
public void onSaveInstanceState(android.os.Bundle outState)
onSaveInstanceState
in class android.app.Fragment
public java.util.EnumSet<CardCategory> getCategories()
public void setCategory(CardCategory category)
public void setCategories(java.util.EnumSet<CardCategory> categories)
categories
- an EnumSet of CardCategory. Please pass in a non-empty EnumSet of CardCategory,
or a null. An empty EnumSet is considered invalid.public void onRefresh()