InjectedViewContainer

public final class InjectedViewContainer<T extends InjectedViewAdapter> extends ConstraintLayout

Internal use only.

A container view for showing InjectedViewAdapters. It uses the InjectedViewAdapterHolder in combination with the InjectedViewAdapterInstance and InjectedViewAdapterConfigurator to display the view provided by the InjectedViewAdapter and to configure the InjectedViewAdapter.

The InjectedViewContainer observes the lifecycle of the view tree lifecycle owner:

IMPORTANT: In cases where an InjectedViewAdapter is used in InjectedViewContainers on multiple screens the strategy is that the InjectedViewContainer which entered the started state last will own the InjectedViewAdapter, will recreate its view, and will reconfigure it.

Constructors

Link copied to clipboard

Types

Link copied to clipboard
public class Companion

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit addView(View p0)
public Unit addView(View p0, Integer p1)
public Unit addView(View p0, Integer p1, Integer p2)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit bringToFront()
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Unit buildDrawingCache()
@Deprecated(message = "Deprecated in Java")
public Unit buildDrawingCache(Boolean p0)
Link copied to clipboard
public Unit buildLayer()
Link copied to clipboard
Link copied to clipboard
public final Unit cancelDragAndDrop()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit clearFocus()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Unit destroyDrawingCache()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Unit dispatchSystemUiVisibilityChanged(Integer p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Unit dispatchWindowSystemUiVisiblityChanged(Integer p0)
Link copied to clipboard
public Unit draw(Canvas p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit fillMetrics(Metrics p0)
Link copied to clipboard
public View findFocus()
Link copied to clipboard
public final T findViewById<T extends View>(Integer p0)
Link copied to clipboard
Link copied to clipboard
public final T findViewWithTag<T extends View>(Object p0)
Link copied to clipboard
Link copied to clipboard
public View focusSearch(Integer p0)
public View focusSearch(View p0, Integer p1)
Link copied to clipboard
public Unit forceLayout()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Float getAlpha()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final AutofillId getAutofillId()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Integer getBottom()
Link copied to clipboard
Link copied to clipboard
public View getChildAt(Integer p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Boolean getChildVisibleRect(View p0, Rect p1, Point p2)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Boolean getClipToOutline()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Context getContext()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final IntArray getDrawableState()
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Bitmap getDrawingCache()
@Deprecated(message = "Deprecated in Java")
public Bitmap getDrawingCache(Boolean p0)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Integer getDrawingCacheBackgroundColor()
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Integer getDrawingCacheQuality()
Link copied to clipboard
public Unit getDrawingRect(Rect p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit getFocusedRect(Rect p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Integer getHeight()
Link copied to clipboard
public Unit getHitRect(Rect p0)
Link copied to clipboard
public Integer getId()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Integer getLeft()
Link copied to clipboard
public final Boolean getLocalVisibleRect(Rect p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Matrix getMatrix()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Integer getMeasuredHeight()
Link copied to clipboard
Link copied to clipboard
public final Integer getMeasuredState()
Link copied to clipboard
public final Integer getMeasuredWidth()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final ViewParent getParent()
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Integer getPersistentDrawingCache()
Link copied to clipboard
public Float getPivotX()
Link copied to clipboard
public Float getPivotY()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Integer getRight()
Link copied to clipboard
public View getRootView()
Link copied to clipboard
Link copied to clipboard
public Float getRotation()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Float getScaleX()
Link copied to clipboard
public Float getScaleY()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Integer getScrollX()
Link copied to clipboard
public final Integer getScrollY()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Integer getSystemUiVisibility()
Link copied to clipboard
public Object getTag()
public Object getTag(Integer p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Integer getTop()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public View getViewById(Integer p0)
Link copied to clipboard
Link copied to clipboard
public final ConstraintWidget getViewWidget(View p0)
Link copied to clipboard
Link copied to clipboard
public final Integer getWidth()
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Integer getWindowSystemUiVisibility()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Float getX()
Link copied to clipboard
public Float getY()
Link copied to clipboard
public Float getZ()
Link copied to clipboard
Link copied to clipboard
public Boolean hasFocus()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit invalidate()
@Deprecated(message = "Deprecated in Java")
public Unit invalidate(Rect p0)
@Deprecated(message = "Deprecated in Java")
public Unit invalidate(Integer p0, Integer p1, Integer p2, Integer p3)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public final Unit invalidateChild(View p0, Rect p1)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public ViewParent invalidateChildInParent(IntArray p0, Rect p1)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Boolean isAlwaysDrawnWithCacheEnabled()
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Boolean isAnimationCacheEnabled()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Boolean isDirty()
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Boolean isDrawingCacheEnabled()
Link copied to clipboard
public Boolean isEnabled()
Link copied to clipboard
public final Boolean isFocusable()
Link copied to clipboard
Link copied to clipboard
public Boolean isFocused()
Link copied to clipboard
public final Boolean isFocusedByDefault()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Boolean isHovered()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Boolean isLaidOut()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Boolean isOpaque()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Boolean isPreferKeepClear()
Link copied to clipboard
public Boolean isPressed()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Boolean isShown()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Unit layout(Integer p0, Integer p1, Integer p2, Integer p3)
Link copied to clipboard
Link copied to clipboard
public final Unit measure(Integer p0, Integer p1)
Link copied to clipboard
public final Unit modifyAdapterIfOwned(Function1<T, Unit> modify)

Use this method to modify the InjectedViewAdapter. It makes sure to only apply the modifications, if the InjectedViewAdapter is still owned by this container.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Boolean onKeyDown(Integer p0, KeyEvent p1)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Boolean onKeyUp(Integer p0, KeyEvent p1)
Link copied to clipboard
public Boolean onNestedFling(View p0, Float p1, Float p2, Boolean p3)
Link copied to clipboard
public Boolean onNestedPreFling(View p0, Float p1, Float p2)
Link copied to clipboard
public Unit onNestedPreScroll(View p0, Integer p1, Integer p2, IntArray p3)
Link copied to clipboard
public Unit onNestedScroll(View p0, Integer p1, Integer p2, Integer p3, Integer p4)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit onViewAdded(View p0)
Link copied to clipboard
public Unit onViewRemoved(View p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Unit onWindowSystemUiVisibilityChanged(Integer p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Boolean post(Runnable p0)
Link copied to clipboard
public Boolean postDelayed(Runnable p0, Long p1)
Link copied to clipboard
public Unit postInvalidate(Integer p0, Integer p1, Integer p2, Integer p3)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit removeView(View p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit removeViews(Integer p0, Integer p1)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit requestChildFocus(View p0, View p1)
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Unit requestFitSystemWindows()
Link copied to clipboard
public final Boolean requestFocus()
public final Boolean requestFocus(Integer p0)
public Boolean requestFocus(Integer p0, Rect p1)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final T requireViewById<T extends View>(Integer p0)
Link copied to clipboard
public Unit resetPivot()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit scheduleDrawable(Drawable p0, Runnable p1, Long p2)
Link copied to clipboard
Link copied to clipboard
public Unit scrollBy(Integer p0, Integer p1)
Link copied to clipboard
public Unit scrollTo(Integer p0, Integer p1)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit setAlpha(Float p0)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Unit setAlwaysDrawnWithCacheEnabled(Boolean p0)
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Unit setAnimationCacheEnabled(Boolean p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Unit setBackgroundDrawable(Drawable p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Unit setBottom(Integer p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit setClipBounds(Rect p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Unit setDrawingCacheBackgroundColor(Integer p0)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Unit setDrawingCacheEnabled(Boolean p0)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Unit setDrawingCacheQuality(Integer p0)
Link copied to clipboard
public Unit setElevation(Float p0)
Link copied to clipboard
public Unit setEnabled(Boolean p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit setHovered(Boolean p0)
Link copied to clipboard
public Unit setId(Integer p0)
Link copied to clipboard
Link copied to clipboard
public final Unit setInjectedViewAdapterHolder(InjectedViewAdapterHolder<T> injectedViewAdapterHolder)
Link copied to clipboard
Link copied to clipboard
public Unit setLabelFor(Integer p0)
Link copied to clipboard
public Unit setLayerPaint(Paint p0)
Link copied to clipboard
public Unit setLayerType(Integer p0, Paint p1)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Unit setLeft(Integer p0)
Link copied to clipboard
public final Unit setLeftTopRightBottom(Integer p0, Integer p1, Integer p2, Integer p3)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit setMaxWidth(Integer p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit setMinWidth(Integer p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit setPadding(Integer p0, Integer p1, Integer p2, Integer p3)
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Unit setPersistentDrawingCache(Integer p0)
Link copied to clipboard
public Unit setPivotX(Float p0)
Link copied to clipboard
public Unit setPivotY(Float p0)
Link copied to clipboard
Link copied to clipboard
public final Unit setPreferKeepClear(Boolean p0)
Link copied to clipboard
Link copied to clipboard
public Unit setPressed(Boolean p0)
Link copied to clipboard
Link copied to clipboard
public final Unit setRevealOnFocusHint(Boolean p0)
Link copied to clipboard
public final Unit setRight(Integer p0)
Link copied to clipboard
public Unit setRotation(Float p0)
Link copied to clipboard
public Unit setRotationX(Float p0)
Link copied to clipboard
public Unit setRotationY(Float p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit setScaleX(Float p0)
Link copied to clipboard
public Unit setScaleY(Float p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit setScrollX(Integer p0)
Link copied to clipboard
public Unit setScrollY(Integer p0)
Link copied to clipboard
public Unit setSelected(Boolean p0)
Link copied to clipboard
Link copied to clipboard
public Unit setState(Integer p0, Integer p1, Integer p2)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Unit setSystemUiVisibility(Integer p0)
Link copied to clipboard
public Unit setTag(Object p0)
public Unit setTag(Integer p0, Object p1)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Unit setTop(Integer p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Unit setTransitionName(String p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Unit setWillNotCacheDrawing(Boolean p0)
Link copied to clipboard
Link copied to clipboard
public Unit setX(Float p0)
Link copied to clipboard
public Unit setY(Float p0)
Link copied to clipboard
public Unit setZ(Float p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public final Boolean startDrag(ClipData p0, View.DragShadowBuilder p1, Object p2, Integer p3)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public String toString()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Boolean willNotCacheDrawing()
Link copied to clipboard

Properties