loadUserPicture

open fun loadUserPicture(    @NonNull context: Context,     @NonNull lifecycle: Lifecycle,     @NonNull imageView: ImageView,     @Nullable defaultContactIconResources: DefaultContactIconResources)

Try to load asynchronously the user picture in the imageView. If user have no picture or the operation failed set the specified placeHolder to the imageView.

Parameters

context

Context The application context

imageView

ImageView : on witch you want to load picture

defaultContactIconResources

DefaultContactIconResources: default contact icon resources