title: Listener for checking the state of SlidingUpPanel
body: <p>I want to change the visblity of an item when <a href="https://github.com/umano/AndroidSlidingUpPanel" rel="nofollow">AndroidSlidingUpPanel</a> is expanded to full screen.Is there any listener which detects whether sliding panel is full screen?I tried using this but didn't worked-</p>
  
  <pre><code>slidingPaneLayout.setOnDragListener(new View.OnDragListener() {
              @Override
              public boolean onDrag(View v, DragEvent event) {
                  if(slidingPaneLayout.getPanelHeight()&gt;700)
                  belowarrow.setVisibility(View.GONE);
                  return true;
              }
          });
  </code></pre>