Interface NewsfeedPostView
-
- All Superinterfaces:
LceView
,MvpLceView
,MvpView
- All Known Implementing Classes:
NewsfeedPostActivity
public interface NewsfeedPostView extends LceView
TheLceView
class forNewsfeedPostActivity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
finishActivity()
Notifies the view to finish the activity.void
showErrorDialog(java.lang.String error)
Notifies the view to show a dialog with the provided error message.void
showProfile(Profile profile)
Notifies the view to show the profile of the member.-
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)
Notifies the view to show the profile of the member. This also means the GET profile API was successful- Parameters:
profile
-Profile
of the member
-
finishActivity
void finishActivity()
Notifies the view to finish the activity. This also mean that the post was successfully created.
-
showErrorDialog
void showErrorDialog(java.lang.String error)
Notifies the view to show a dialog with the provided error message. This also means that the post not created.- Parameters:
error
- error message
-
-