class RecyclerViewAdapterPosts.ViewHolder
extends android.support.v7.widget.RecyclerView.ViewHolder
implements android.view.View.OnClickListener
RecyclerViewAdapterPosts.onBindViewHolder(RecyclerView.ViewHolder, int)
Modifier and Type | Field and Description |
---|---|
(package private) android.widget.Button |
button |
(package private) android.widget.TextView |
categories |
(package private) android.widget.TextView |
content |
private android.content.Context |
context |
(package private) android.widget.TextView |
date |
(package private) android.widget.ImageView |
expand |
(package private) android.widget.LinearLayout |
lay |
(package private) android.widget.TextView |
name |
(package private) android.widget.ImageView |
pic |
Constructor and Description |
---|
ViewHolder(android.view.View itemView,
android.content.Context ctx) |
Modifier and Type | Method and Description |
---|---|
void |
onClick(android.view.View view)
Gets the full article, starts an intent to display it.
|
final android.widget.TextView name
final android.widget.TextView content
final android.widget.TextView date
final android.widget.TextView categories
final android.widget.ImageView pic
final android.widget.ImageView expand
final android.widget.LinearLayout lay
final android.widget.Button button
private final android.content.Context context
public void onClick(android.view.View view)
onClick
in interface android.view.View.OnClickListener
view
- the clicked viewPostViewerActivity