Professional List
#
Messenger view controllerThe only view you must integrate inside you app is the professional list. Consists in a view that shows a list of all professionals available for the current authenticated user and allows access to chats and professional profiles.
Once we initialized the SDK and authenticated the user, we can retrieve the MeetingLawyers UI using the following method:
Method parameters have been overloaded with default values. So we can invoke the list of doctors by adding the following call:
#
Handling cell tapsTo control what happens when the user taps on a professional (or their profile picture), implement the ProfessionalListOutputType
protocol in your view controller. This delegate method lets you decide whether to navigate to the professional’s detail screen or perform a custom action.
When this delegate method is implemented, it is triggered when the user taps either on the professional row or directly on the profile picture.
#
Next steps- Customize UI: Customization