Commit 3b24532e authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Update RocketChatAvatar.java

parent d794b5b8
...@@ -35,14 +35,11 @@ public class RocketChatAvatar extends FrameLayout { ...@@ -35,14 +35,11 @@ public class RocketChatAvatar extends FrameLayout {
} }
private void initialize(Context context, AttributeSet attrs) { private void initialize(Context context, AttributeSet attrs) {
LayoutInflater LayoutInflater.from(context).inflate(R.layout.message_avatar, this, true);
.from(context)
.inflate(R.layout.message_avatar, this, true);
draweeView = findViewById(R.id.drawee_avatar); draweeView = findViewById(R.id.drawee_avatar);
} }
public void loadImage(String imageUri) { public void loadImage(String imageUri) {
FrescoHelper FrescoHelper.loadImage(draweeView, imageUri);
.loadImage(draweeView, imageUri);
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment