public class OneCategoryFeedFragment extends BaseColumnFeedFragment implements CategoriesFragment
weakRecyclableItemsForRelease| Constructor and Description |
|---|
OneCategoryFeedFragment() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyItemPaddingDecoration() |
protected void |
changeFeed(FeedIdentifier newIdentifier) |
static OneCategoryFeedFragment |
create(FeedIdentifier identifier) |
protected RecyclerView.Adapter |
customizeAdapter(GfycatDataAdapter adapter) |
protected BIContext |
getBIContext() |
protected int |
getColumnCount()
Count of columns to display gfycats.
|
protected float |
getCornerRadius() |
protected int |
getOrientation() |
protected void |
onClick(FeedIdentifier identifier,
Gfycat gfycat,
int positionInFeed) |
void |
onCreate(android.os.Bundle savedInstanceState) |
protected void |
onCustomizeRecycler(RecyclerView recyclerView) |
void |
onDestroy() |
void |
onSaveInstanceState(android.os.Bundle outState) |
void |
onStart() |
void |
onStop() |
void |
setDataLoadProgressListener(DataLoadProgressListener dataLoadProgressListener) |
void |
setFilter(java.lang.String filter) |
void |
setScrollListener(RecyclerView.OnScrollListener scrollListener) |
getCellController, getOffset, getRecyclerView, getTargetIdentifier, onCreateView, onDestroyView, onViewCreated, prepareArguments, prepareArguments, reloadIfNeeded, setFeedForceReloadingNeeded, setFeedReloadingNeeded, setPlaybackEnabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRecyclerView, setPlaybackEnabledpublic static OneCategoryFeedFragment create(FeedIdentifier identifier)
public void onCreate(android.os.Bundle savedInstanceState)
onCreate in class BaseColumnFeedFragmentprotected float getCornerRadius()
getCornerRadius in class BaseColumnFeedFragmentprotected BIContext getBIContext()
getBIContext in class BaseColumnFeedFragmentprotected RecyclerView.Adapter customizeAdapter(GfycatDataAdapter adapter)
customizeAdapter in class BaseColumnFeedFragmentadapter - with gfycat items.protected int getOrientation()
getOrientation in class BaseColumnFeedFragmentOrientationHelper#VERTICAL or OrientationHelper#HORIZONTALprotected int getColumnCount()
BaseColumnFeedFragmentgetColumnCount in class BaseColumnFeedFragmentprotected void onClick(FeedIdentifier identifier,
Gfycat gfycat,
int positionInFeed)
onClick in class BaseColumnFeedFragmentgfycat - - user has clicked on.protected void onCustomizeRecycler(RecyclerView recyclerView)
onCustomizeRecycler in class BaseColumnFeedFragmentrecyclerView - that is used to display items.protected void applyItemPaddingDecoration()
applyItemPaddingDecoration in class BaseColumnFeedFragmentpublic void setFilter(java.lang.String filter)
setFilter in interface CategoriesFragmentpublic void onStart()
onStart in class BaseColumnFeedFragmentpublic void onStop()
onStop in class BaseColumnFeedFragmentprotected void changeFeed(FeedIdentifier newIdentifier)
changeFeed in class BaseColumnFeedFragmentpublic void setScrollListener(RecyclerView.OnScrollListener scrollListener)
setScrollListener in interface CategoriesFragmentpublic void setDataLoadProgressListener(DataLoadProgressListener dataLoadProgressListener)
setDataLoadProgressListener in interface CategoriesFragmentsetDataLoadProgressListener in class BaseColumnFeedFragmentpublic void onSaveInstanceState(android.os.Bundle outState)
onSaveInstanceState in class BaseColumnFeedFragmentpublic void onDestroy()