Interface CheckInView
-
- All Superinterfaces:
ChallengeResponseView
,MvpView
- All Known Implementing Classes:
CheckInFragment
public interface CheckInView extends ChallengeResponseView
This view must be implemented to notify the Activity or Fragment of the API call returns
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
showCheckInConfirmation(int points)
Notifies the view to that check-in is successfulvoid
showCheckInDetails(Place place, int points)
Notifies the view to show check-in detailsvoid
showCheckInNotAvailable()
Notifies the view to that check-in is not available at current location-
Methods inherited from interface com.cheetahdigital.challenges.ui.responses.base.ChallengeResponseView
onChallengeRespondSuccess, showErrorMessage, showLoading, showReward
-
-
-
-
Method Detail
-
showCheckInDetails
void showCheckInDetails(Place place, int points)
Notifies the view to show check-in details- Parameters:
place
- thePlace
modelpoints
- the check-in reward
-
showCheckInNotAvailable
void showCheckInNotAvailable()
Notifies the view to that check-in is not available at current location
-
showCheckInConfirmation
void showCheckInConfirmation(int points)
Notifies the view to that check-in is successful- Parameters:
points
- the check-in reward
-
-