title: Android AccessibilityDelegate force reading of ViewGroup not children
body: <p>I'm using a viewpager which is made up of some number of relative layout siblings which are quite complex. </p>
  
  <p>If I click on the relative layout, it will highlight the entire page and read the title and a few textviews one after the other as expected.</p>
  
  <p>If I scroll the viewpager I'd like talkback to read the next page in the same way it reads the first if I click. Secondly, if I scroll to the second, third, etc. pages and click on those layouts, talkback will read as expected. </p>
  
  <p>I am trying to achieve the click behavior after the scroll event has completed.</p>
  
  <p>Here is what I have for the accessibilityDelegate.</p>
  
  <pre><code>    viewPager.setAccessibilityDelegate(new AccessibilityDelegate () {
          @Override
          public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) {
              if (event.getEventType() == AccessibilityEvent.TYPE_VIEW_SCROLLED) {
                  View page = viewPager.getCurrentPageView();
                  performAccessibilityAction(page, AccessibilityNodeInfo.ACTION_CLICK, Bundle.EMPTY);
              }
              return super.onRequestSendAccessibilityEvent(host, child, event);
          }
      });
  </code></pre>
  
  <p>I've verified that 'page' is the RelativeLayout parent that I think it is. <strong>I've also confirmed that the <code>onRequestSendAccessibilityEvent</code> is being fired, but it doesn't read the contents of its children.</strong> Am I missing something?</p>
  
  <p><strong>Updated</strong></p>
  
  <p>I've also tried using </p>
  
  <pre><code>viewpager.getCurrentPageView().sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_FOCUSED);
  </code></pre>
  
  <p>The above worked for another example when I needed to force talkback to reread a single item but does not have any affect if I try it on the page.</p>
  
  <p>Thanks</p>