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 theEndlessListViewThe 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 ExtendsThemedActivityThis is a holder activity for the fragmentLeaderboardsListFragmentCan receive the following intent extras:IntentKey.PRIMARY_PARAMS-LeaderboardParamsto useLeaderboardsListAdapter An extended version ofEndlessListAdapterwithBoardas model andBoardsViewHolderas the view holder.LeaderboardsListFragment<A extends LeaderboardsListAdapter,V extends LeaderboardsListView,P extends LeaderboardsListPresenter<V>> An endless list fragment which extendsEndlessListFragmentViewUse to display the list ofBoardon a lazy-loading manner This fragment is accompanied by theLeaderboardsListPresenterandLeaderboardsListViewCan receive the following intent extras:IntentKey.PRIMARY_PARAMS-LeaderboardParamsto useLeaderboardsListPresenter<T extends LeaderboardsListView> Extends theEndlessListPresenterwith viewLeaderboardsListViewPresenters are used to call the API using theBoardDataand also the presenter notifies its view if needed.