| java.lang.Object | ||
| ↳ | android.support.v7.widget.RecyclerView.ViewHolder | |
| ↳ | com.github.droidpl.android.jsonviewer.RVJsonAdapter.ViewHolder | |
The view holder for the adapter.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.support.v7.widget.RecyclerView.ViewHolder
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
ViewHolder(View itemView)
Constructor for the view holder.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
setObject(String property, boolean isArray)
Sets an object in the adapter.
| ||||||||||
| void |
setText(String property, String text)
Sets the text in the property.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.support.v7.widget.RecyclerView.ViewHolder
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructor for the view holder.
| itemView | The view. |
|---|
Sets an object in the adapter.
| property | The property to display. |
|---|---|
| isArray | True if array, false otherwise. |
Sets the text in the property.
| property | The property. |
|---|---|
| text | The text. |