Class ShadowViewGroup

    • Field Detail

      • realViewGroup

        @RealObject
        protected android.view.ViewGroup realViewGroup
    • Constructor Detail

      • ShadowViewGroup

        public ShadowViewGroup()
    • Method Detail

      • addView

        @Implementation
        protected void addView​(android.view.View child,
                               int index,
                               android.view.ViewGroup.LayoutParams params)
      • innerText

        public java.lang.String innerText()
        Returns a string representation of this ViewGroup by concatenating all of the strings contained in all of the descendants of this ViewGroup.
        Overrides:
        innerText in class ShadowView
        Returns:
        String representation of this view.
      • dump

        @Deprecated
        public void dump​(java.io.PrintStream out,
                         int indent)
        Deprecated.
        - Please use androidx.test.espresso.util.HumanReadables#describe(View)
        Dumps the state of this ViewGroup to System.out.
        Overrides:
        dump in class ShadowView
        Parameters:
        out - Output stream.
        indent - Indentation level.
      • requestDisallowInterceptTouchEvent

        @Implementation
        protected void requestDisallowInterceptTouchEvent​(boolean disallowIntercept)
      • getDisallowInterceptTouchEvent

        public boolean getDisallowInterceptTouchEvent()
      • removedChild

        protected void removedChild​(android.view.View child)
      • getInterceptedTouchEvent

        public android.view.MotionEvent getInterceptedTouchEvent()
      • onInterceptTouchEvent

        @Implementation
        protected boolean onInterceptTouchEvent​(android.view.MotionEvent ev)