Interface OffersCarouselView
-
- All Superinterfaces:
LceView
,ListView
,MvpLceView
,MvpView
,RefreshableView
- All Known Implementing Classes:
OffersCarouselFragment
public interface OffersCarouselView extends ListView
TheMvpView
class forOffersCarouselFragment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
showOfferCarousel(java.util.List<Offer> offers, int totalEntries)
Display the offer carousel.void
showSnackbarError(java.lang.String error)
Display a snackbar with an error message.-
Methods inherited from interface com.cheetahdigital.uikit.architecture.lce.LceView
onLoadFailed, onLoadSuccess, setErrorViewClickListener
-
Methods inherited from interface com.cheetahdigital.uikit.architecture.lce.MvpLceView
showContent, showError, showLoading
-
Methods inherited from interface com.cheetahdigital.uikit.architecture.refreshable.RefreshableView
onFinishRefresh, onRefreshFailed
-
-
-
-
Method Detail
-
showOfferCarousel
void showOfferCarousel(java.util.List<Offer> offers, int totalEntries)
Display the offer carousel. This also means that the GET offers API call is successful- Parameters:
offers
- the list ofOffer
totalEntries
- the total number of offers
-
showSnackbarError
void showSnackbarError(java.lang.String error)
Display a snackbar with an error message. This also means that the GET offers API call failed- Parameters:
error
- the error message
-
-