Skip to content
Snippets Groups Projects
Commit b9a36308 authored by Aleksandar Stefanović's avatar Aleksandar Stefanović
Browse files

Removed unused image from layout

...in preparation for the next commit - addition of "open/closed" marks to each issue.
parent 003ab468
No related branches found
No related tags found
1 merge request!15Added "open/closed message" to issue list item (#162)
Loading
Loading
@@ -28,7 +28,6 @@ public class IssueViewHolder extends RecyclerView.ViewHolder {
return new IssueViewHolder(view);
}
 
@BindView(R.id.issue_image) ImageView mImageView;
@BindView(R.id.issue_message) TextView mMessageView;
@BindView(R.id.issue_creator) TextView mCreatorView;
 
Loading
Loading
@@ -39,15 +38,6 @@ public class IssueViewHolder extends RecyclerView.ViewHolder {
 
public void bind(Issue issue) {
 
if (issue.getAssignee() != null) {
App.instance().getPicasso()
.load(ImageUtil.getAvatarUrl(issue.getAssignee(), itemView.getResources().getDimensionPixelSize(R.dimen.image_size)))
.transform(new CircleTransformation())
.into(mImageView);
} else {
mImageView.setImageBitmap(null);
}
mMessageView.setText(issue.getTitle());
 
String time = "";
Loading
Loading
Loading
Loading
@@ -35,14 +35,4 @@
 
</LinearLayout>
 
<ImageView
android:id="@+id/issue_image"
android:layout_width="@dimen/image_size"
android:layout_height="@dimen/image_size"
android:layout_gravity="center_vertical"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:contentDescription="@null"
tools:src="@drawable/ic_assign_24dp" />
</LinearLayout>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment