java.lang.Object | |||
↳ | android.view.ViewGroup.LayoutParams | ||
↳ | android.view.ViewGroup.MarginLayoutParams | ||
↳ | android.support.v7.widget.RecyclerView.LayoutParams |
Known Direct Subclasses |
LayoutParams
subclass for children of
RecyclerView
. Custom layout managers
are encouraged
to create their own subclass of this LayoutParams
class
to store any additional required per-child view metadata about the layout.
[Expand]
Inherited XML Attributes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
|
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.LayoutParams
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the position that the view this LayoutParams is attached to corresponds to.
| |||||||||||
Returns true if the adapter data item corresponding to the view this LayoutParams
is attached to has been changed in the data set.
| |||||||||||
Returns true if the adapter data item corresponding to the view this LayoutParams
is attached to has been removed from the data set.
| |||||||||||
Returns true if the view this LayoutParams is attached to is now representing
potentially invalid data.
| |||||||||||
Returns true if the view this LayoutParams is attached to needs to have its content
updated from the corresponding adapter.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
| |||||||||||
From class
java.lang.Object
|
Returns the position that the view this LayoutParams is attached to corresponds to.
Returns true if the adapter data item corresponding to the view this LayoutParams is attached to has been changed in the data set. A LayoutManager may choose to treat it differently in order to animate its changing state.
Returns true if the adapter data item corresponding to the view this LayoutParams is attached to has been removed from the data set. A LayoutManager may choose to treat it differently in order to animate its outgoing or disappearing state.
Returns true if the view this LayoutParams is attached to is now representing potentially invalid data. A LayoutManager should scrap/recycle it.
Returns true if the view this LayoutParams is attached to needs to have its content updated from the corresponding adapter.