Interface ConnectDetailsView
-
- All Superinterfaces:
LceView,MvpLceView,MvpView
- All Known Implementing Classes:
ConnectDetailsActivity
public interface ConnectDetailsView extends LceView
Extends theLceViewThe View class for the Member details
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisplayInterests(java.util.List<java.lang.String> interests)Displays the list of interests of the membervoiddisplayPersonalNote(java.lang.String personalNote)Shows the personal message from the current member connectionvoidhidePopupWindow()Hides the popup windowvoidremoveConnectButtonClickListener()Removes the current registered listener for the connect buttonvoidsetAcceptButtonClickListener()Set the accept button behavior for the connect buttonvoidsetConnectButtonClickListener()Set the connect button behavior for the connect buttonvoidsetConnectedButtonAppearance()Format the current connect button for connected statevoidsetDefaultButtonAppearance()Format the current connect button for default statevoidsetReceivedButtonAppearance()Format the current connect button for received statevoidsetRequestedButtonAppearance()Format the current connect button for requested statevoidshowConnectButton(boolean show)Show/Hide the connect buttonvoidshowContact(Details details, boolean isActionVisible)Shows the contact information of the current uservoidshowProfile(Details details)Shows the profile of the membervoidshowProgressDialog(boolean show)Show/Hide the progress dialogvoidshowRequestDialogError(java.lang.String error)Notifies the view that the connection request was not successfulvoidupdateSavedContact(Profile profile)Notifies the view when the profile was successfully downloaded-
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
-
showRequestDialogError
void showRequestDialogError(java.lang.String error)
Notifies the view that the connection request was not successful- Parameters:
error- description of the error
-
updateSavedContact
void updateSavedContact(Profile profile)
Notifies the view when the profile was successfully downloaded- Parameters:
profile-Profileused to update the saved contacts
-
showProfile
void showProfile(Details details)
Shows the profile of the member- Parameters:
details-Detailsused to populate details
-
showContact
void showContact(Details details, boolean isActionVisible)
Shows the contact information of the current user- Parameters:
details-Detailsused to populate the contact infoisActionVisible- true to show contact information
-
setConnectedButtonAppearance
void setConnectedButtonAppearance()
Format the current connect button for connected state
-
setReceivedButtonAppearance
void setReceivedButtonAppearance()
Format the current connect button for received state
-
setRequestedButtonAppearance
void setRequestedButtonAppearance()
Format the current connect button for requested state
-
setDefaultButtonAppearance
void setDefaultButtonAppearance()
Format the current connect button for default state
-
displayPersonalNote
void displayPersonalNote(java.lang.String personalNote)
Shows the personal message from the current member connection- Parameters:
personalNote- message containing the personal
-
setAcceptButtonClickListener
void setAcceptButtonClickListener()
Set the accept button behavior for the connect button
-
setConnectButtonClickListener
void setConnectButtonClickListener()
Set the connect button behavior for the connect button
-
removeConnectButtonClickListener
void removeConnectButtonClickListener()
Removes the current registered listener for the connect button
-
displayInterests
void displayInterests(java.util.List<java.lang.String> interests)
Displays the list of interests of the member- Parameters:
interests- list of interests to display
-
showConnectButton
void showConnectButton(boolean show)
Show/Hide the connect button- Parameters:
show- true to show button, else false
-
showProgressDialog
void showProgressDialog(boolean show)
Show/Hide the progress dialog- Parameters:
show- true to show the dialog, else false
-
hidePopupWindow
void hidePopupWindow()
Hides the popup window
-
-