Interface MembershipCardView
-
- All Superinterfaces:
LceView
,MvpLceView
,MvpView
- All Known Implementing Classes:
MembershipCardFragment
public interface MembershipCardView extends LceView
View interface for any class wanting to display the Membership Card using theMembershipCardPresenter
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
showBanner(java.lang.String uri)
This will be called by the presenter after successfully retrieving the banner URI from the stored preferences.void
showBannerNotAvailable()
This will be called by the presenter if it fails to retrieve the banner image URI from the stored preferences.void
showProfile(Profile profile)
This will be called by the presenter after successfully receiving Profile information from the SDK.void
showProfileNotAvailable(java.lang.String error)
This will be called by the presenter after failing to receive Profile information from the SDK.void
showTierLabel(java.lang.String label)
This will be called by the presenter after successfully retrieving the tier label from the stored preferences.void
showTierLabelNotAvailable()
This will be called by the presenter if it fails to retrieve the tier label from the stored preferences.-
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
-
-
-
-
Method Detail
-
showProfile
void showProfile(Profile profile)
This will be called by the presenter after successfully receiving Profile information from the SDK.- Parameters:
profile
- The Profile received.
-
showProfileNotAvailable
void showProfileNotAvailable(java.lang.String error)
This will be called by the presenter after failing to receive Profile information from the SDK.- Parameters:
error
- The error returned by the API call.
-
showBanner
void showBanner(java.lang.String uri)
This will be called by the presenter after successfully retrieving the banner URI from the stored preferences.- Parameters:
uri
- The banner image URI as aString
object.
-
showBannerNotAvailable
void showBannerNotAvailable()
This will be called by the presenter if it fails to retrieve the banner image URI from the stored preferences.
-
showTierLabel
void showTierLabel(java.lang.String label)
This will be called by the presenter after successfully retrieving the tier label from the stored preferences.- Parameters:
label
- The tier label retrieved.
-
showTierLabelNotAvailable
void showTierLabelNotAvailable()
This will be called by the presenter if it fails to retrieve the tier label from the stored preferences.
-
-