Skip to content

Commit

Permalink
Edit Readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad Hamdan committed Jul 9, 2017
1 parent b6531a3 commit 2f2cf05
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,26 +84,14 @@ public class MixModel {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
public String getThumbnail() {
return thumbnail;
}
public void setThumbnail(String thumbnail) {
this.thumbnail = thumbnail;
}
public String getImage() {
return image;
}
Expand All @@ -112,10 +100,6 @@ public class MixModel {
this.image = image;
}
public void setId(int id) {
this.id = id;
}
public int getId() {
return id;
}
Expand All @@ -129,6 +113,11 @@ public class MixModel {
public void comment(RecyclerView.Adapter adapter, int position, View view) {
Toast.makeText(view.getContext(), "Comment: " + getId(), Toast.LENGTH_SHORT).show();
}
@LongClick(R.id.comment)
public void commentLongClick(RecyclerView.Adapter adapter, int position, View view) {
Toast.makeText(view.getContext(), "LongClick Comment: " + getId(), Toast.LENGTH_SHORT).show();
}
}
```

Expand Down

0 comments on commit 2f2cf05

Please sign in to comment.