Package com.cheetahdigital.leaderboard.ui.leaderboard_list
-
Interface Summary Interface Description BoardsClickListener Interface to be implemented in order to handle the actions when clicking an item on the list of leaderboards.LeaderboardsListView Extends theEndlessListView
The View class for the Leaderboard lists -
Class Summary Class Description BoardsViewHolder The ViewHolder for an item in the leaderboard list and sets the action when the item is clicked as wellLeaderboardsListActivity ExtendsThemedActivity
This is a holder activity for the fragmentLeaderboardsListFragment
Can receive the following intent extras:IntentKey.PRIMARY_PARAMS
-LeaderboardParams
to useLeaderboardsListAdapter An extended version ofEndlessListAdapter
withBoard
as model andBoardsViewHolder
as the view holder.LeaderboardsListFragment<A extends LeaderboardsListAdapter,V extends LeaderboardsListView,P extends LeaderboardsListPresenter<V>> An endless list fragment which extendsEndlessListFragmentView
Use to display the list ofBoard
on a lazy-loading manner This fragment is accompanied by theLeaderboardsListPresenter
andLeaderboardsListView
Can receive the following intent extras:IntentKey.PRIMARY_PARAMS
-LeaderboardParams
to useLeaderboardsListPresenter<T extends LeaderboardsListView> Extends theEndlessListPresenter
with viewLeaderboardsListView
Presenters are used to call the API using theBoardData
and also the presenter notifies its view if needed.