avatar-view
avatar-view copied to clipboard
Avatar ImageView with user's name first letter Drawable placeholder
I'm getting the following error while using AvatarView with databinding: > Cannot find a setter for that accepts parameter type 'java.lang.String' > > If a binding adapter provides the setter,...
Log Cat ``` 07-31 23:18:33.132 7905-7905/com.example.kunda.test_avatar_library_withusername E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.kunda.test_avatar_library_withusername, PID: 7905 java.lang.NoSuchMethodError: No virtual method load(Ljava/lang/String;)Lcom/bumptech/glide/DrawableTypeRequest; in class Lcom/bumptech/glide/RequestManager; or its super classes (declaration of 'com.bumptech.glide.RequestManager' appears...
public class PicassoLoader extends ImageLoaderBase { public PicassoLoader() { super(); } public PicassoLoader(String defaultPlaceholderString) { super(defaultPlaceholderString); } @Override public void loadImage(@NonNull AvatarView avatarView, @NonNull AvatarPlaceholder avatarPlaceholder, String avatarUrl) { Picasso.with(getContext())...
I added a feature to let users add border dynamically.
I want to change the border color of the view through programming. Can you help me, please?
Can we set a default background color instead of a random color ?
Can we have the option to change the background color the avatar-view? Thanks,
you can set two letters on the avatar