public static interface LithoView.LayoutManagerOverrideParams
If you set LayoutParams on a LithoView that implements this interface, the view will
completely ignore the layout specs given to it by its LayoutManager and use these specs
instead. To use, set the LayoutParams height and width to ViewGroup.LayoutParams#WRAP_CONTENT
and then provide a width and height measure spec though
this interface.
This is helpful for implementing View.MeasureSpec#AT_MOST
support since Android
LayoutManagers don't support an AT_MOST concept as part of ViewGroup.LayoutParams
's
special values.
Modifier and Type | Field and Description |
---|---|
static int |
UNINITIALIZED |
Modifier and Type | Method and Description |
---|---|
int |
getHeightMeasureSpec() |
int |
getWidthMeasureSpec() |
boolean |
hasValidAdapterPosition() |
static final int UNINITIALIZED