Package com.cheetahdigital.newsfeed.ui.list
-
Interface Summary Interface Description FeedsListView TheMvpView
class forFeedsListFragment
NewsfeedListView TheMvpView
class forNewsfeedListFragment
OnAttachmentClickListener Click listener for attachments in aPost
OnFeedClickListener Feed click listener forFeed
PostClickListener Click listener forPost
PreviewListener Interface to be implemented in order to handle a preview that has been loaded -
Class Summary Class Description FeedsListActivity The activity class for showing the list ofFeed
viaFeedsListFragment
Can receive the following intent extras:IntentKey.PRIMARY_PARAMS
- use this key to pass any changes in query parametersFeedsListFragment.FEEDS_PROCEED_TO_NEW_POST
- boolean key to determine if clicking an item in the list will proceed toNewsfeedPostActivity
.FeedsListAdapter The adapter forFeedsListFragment
FeedsListFragment<A extends FeedsListAdapter,V extends FeedsListView,P extends FeedsListPresenter<V>> The fragment class for showing a list ofFeed
Can receive the following intent extras:IntentKey.PRIMARY_PARAMS
- use this key to pass any changes in query parametersFeedsListFragment.FEEDS_PROCEED_TO_NEW_POST
- boolean key to determine if clicking an item in the list will proceed toNewsfeedPostActivity
.FeedsListPresenter<T extends FeedsListView> TheMvpPresenter
class forFeedsListFragment
FeedViewHolder TheRecyclerView.ViewHolder
class forFeedsListAdapter
NewsfeedListActivity The activity class for showing the list ofPost
viaNewsfeedListFragment
Can receive the following extras:IntentKey.PRIMARY_PARAMS
- use this key to pass any changes in query parameters of list ofPost
IntentKey.SECONDARY_PARAMS
- use this key to pass any changes in query parameters of flagsIntentKey.PRIMARY_ID
- name of the category of the newsfeedNewsfeedListFragment.PUBLIC_PROFILE_CLICKABLE
- boolean key to allow clicking of member avatar/name in a post to show their profileNewsfeedListAdapter The adapter forNewsfeedListFragment
NewsfeedListFragment<A extends NewsfeedListAdapter,V extends NewsfeedListView,P extends NewsfeedListPresenter<V>> The fragment class for showing a list ofPost
Can receive the following extras:IntentKey.PRIMARY_PARAMS
- use this key to pass any changes in query parameters of list ofPost
IntentKey.SECONDARY_PARAMS
- use this key to pass any changes in query parameters of flagsIntentKey.PRIMARY_ID
- name of the category of the newsfeedNewsfeedListFragment.PUBLIC_PROFILE_CLICKABLE
- boolean key to allow clicking of member avatar/name in a post to show their profile Can receive the following extras fromNewsfeedListFragment.onActivityResult(int, int, Intent)
NewsfeedDetailsActivity.KEY_POST_ID
- id of the post to refresh Request codes:NewsfeedListFragment.DETAILS_ACTIVITY_REQUEST
- Request code when usingListFragmentView.startActivityForResult(Intent, int)
forNewsfeedDetailsActivity
.NewsfeedListFragment.POST_CODE
- Request code when usingListFragmentView.startActivityForResult(Intent, int)
forNewsfeedPostActivity
.NewsfeedListPresenter<T extends NewsfeedListView> TheMvpPresenter
class forNewsfeedListFragment
NewsViewHolder PreviewTask Handles loading of Link Preview -
Enum Summary Enum Description NewsViewHolder.SUPPORTED_VIDEO_TYPES Current video types supported.