Java Code Examples for android.widget.AbsListView#isFastScrollAlwaysVisible()
The following examples show how to use
android.widget.AbsListView#isFastScrollAlwaysVisible() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ViewPagerDelegate.java From rss with GNU General Public License v3.0 | 5 votes |
@Override public boolean isReadyForPull(View view, float x, float y) { boolean ready = false; /* First we check whether we're scrolled to the top of current page. */ if(null != s_fragmentFeeds) { AbsListView absListView = getCurrentTagListView(); if(0 == absListView.getCount()) { ready = true; } else if(0 == absListView.getFirstVisiblePosition()) { View firstVisibleChild = absListView.getChildAt(0); ready = null != firstVisibleChild && 0 <= firstVisibleChild.getTop(); } if(ready && absListView.isFastScrollEnabled() && absListView.isFastScrollAlwaysVisible()) { switch(absListView.getVerticalScrollbarPosition()) { case View.SCROLLBAR_POSITION_LEFT: return x > absListView.getVerticalScrollbarWidth(); case View.SCROLLBAR_POSITION_RIGHT: return x < absListView.getRight() - absListView.getVerticalScrollbarWidth(); } } } return ready; }
Example 2
Source File: AbsListViewDelegate.java From AndroidPullMenu with Apache License 2.0 | 4 votes |
static boolean isFastScrollAlwaysVisible(AbsListView absListView) { return absListView.isFastScrollAlwaysVisible(); }
Example 3
Source File: AbsListViewDelegate.java From ALLGO with Apache License 2.0 | 4 votes |
static boolean isFastScrollAlwaysVisible(AbsListView absListView) { return absListView.isFastScrollAlwaysVisible(); }
Example 4
Source File: AbsListViewDelegate.java From Bitocle with Apache License 2.0 | 4 votes |
static boolean isFastScrollAlwaysVisible(AbsListView absListView) { return absListView.isFastScrollAlwaysVisible(); }
Example 5
Source File: AbsListViewDelegate.java From Bitocle with Apache License 2.0 | 4 votes |
static boolean isFastScrollAlwaysVisible(AbsListView absListView) { return absListView.isFastScrollAlwaysVisible(); }
Example 6
Source File: AbsListViewDelegate.java From Bitocle with Apache License 2.0 | 4 votes |
static boolean isFastScrollAlwaysVisible(AbsListView absListView) { return absListView.isFastScrollAlwaysVisible(); }
Example 7
Source File: AbsListViewDelegate.java From Klyph with MIT License | 4 votes |
static boolean isFastScrollAlwaysVisible(AbsListView absListView) { return absListView.isFastScrollAlwaysVisible(); }
Example 8
Source File: AbsListViewDelegate.java From KlyphMessenger with MIT License | 4 votes |
static boolean isFastScrollAlwaysVisible(AbsListView absListView) { return absListView.isFastScrollAlwaysVisible(); }