Package com.cheetahdigital.offers.ui.list
-
Interface Summary Interface Description OfferClipListener The clip listener for offer items in the listOfferResponseClipListener The clip listener for offer response items in the listOfferResponseListView An interface that extendsEndlessListView
for the list and has methods that is called in presenterOffersListView TheMvpView
class forOffersListFragment
-
Class Summary Class Description OfferResponseAdapter TheRecyclerView.Adapter
used inOfferResponseListFragment
OfferResponseAdapter.CLIPPED
- clipped processing status ofOfferResponse
OfferResponseAdapter.CANCELLED
- cancelled processing status ofOfferResponse
OfferResponseClickListener Offer click listener forOfferResponse
items.OfferResponseListFragment<A extends OfferResponseAdapter,V extends OfferResponseListView,P extends OfferResponseListPresenter<V>> List Fragment that extendsEndlessListAndGridFragmentView
havingOfferResponseAdapter
as the adapter,OfferResponseListView
as the view andOfferResponseListPresenter
as the presenter The fragment also useOfferResponseListView
andOfferResponseClipListener
Can receive the following intent extras:OfferResponseListFragment.SHOW_ZERO_POINT_AS_FREE
- the flag for showing the amount text as "Free" if the metric amount is zero.OfferResponseListFragment.OPEN_URL_DETAIL
- the flag for showing offer in detail or in browser.IntentKey.PRIMARY_PARAMS
- theOfferParams
to use.OfferResponseListPresenter<T extends OfferResponseListView> ExtendsEndlessListPresenter
withOfferResponseListView
Handles calling of api related to offer responsesOfferResponsesViewHolder TheRecyclerView.ViewHolder
class forOfferResponseListFragment
OffersAdapter The adapter forOffersListFragment
OffersClippedFragment List Fragment that extendsOffersListFragment
.OffersListActivity The Activity class for showing the list ofOffer
viaOffersListFragment
Can receive the following intent extras: OFFERS_FILTER_ON - flag to show the offer categories OFFER_IS_GRID_VIEW - view type of the offer.OffersListFragment<A extends OffersAdapter,V extends OffersListView,P extends OffersListPresenter<V>> The fragment class for showing the list ofOffer
Can receive the following intent extras:OffersListFragment.OFFERS_FILTER_ON
- flag to show the offer categories OFFER_IS_GRID_VIEW - view type of the offer.OffersListPresenter<T extends OffersListView> OffersViewHolder TheRecyclerView.ViewHolder
class forOffersListFragment
SwipeOffersViewHolder