load User Picture
open fun loadUserPicture( @NonNull context: Context, @NonNull lifecycle: Lifecycle, @NonNull imageView: ImageView, @Nullable defaultContactIconResources: DefaultContactIconResources)
Content copied to clipboard
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
image View
ImageView : on witch you want to load picture
default Contact Icon Resources
DefaultContactIconResources: default contact icon resources