Available Methods
- ViewHolder ( )
- setLayoutManager ( )
- State ( )
- setAdapter ( )
- LayoutManager ( )
- LayoutParams ( )
- Adapter ( )
- getChildAt ( )
- getChildCount ( )
- getLayoutManager ( )
- Recycler ( )
- setHasFixedSize ( )
- NO_POSITION
- getChildAdapterPosition ( )
- addItemDecoration ( )
- getWidth ( )
- getPaddingRight ( )
- getPaddingLeft ( )
- SCROLL_STATE_IDLE
- getContext ( )
- getHeight ( )
- getPaddingTop ( )
- getAdapter ( )
- setItemAnimator ( )
- getPaddingBottom ( )
- addOnScrollListener ( )
- ItemDecoration ( )
- OnScrollListener ( )
- findChildViewUnder ( )
- SCROLL_STATE_DRAGGING
- ItemAnimator ( )
- setNestedScrollingEnabled ( )
- findViewHolderForAdapterPosition ( )
- RecycledViewPool ( )
- AdapterDataObserver ( )
- getTag ( )
- getChildViewHolder ( )
- SCROLL_STATE_SETTLING
- setVisibility ( )
- getChildLayoutPosition ( )
- scrollToPosition ( )
- setLayoutParams ( )
- getChildPosition ( )
- addOnItemTouchListener ( )
- setTag ( )
- setOnScrollListener ( )
- setPadding ( )
- scrollBy ( )
- VERTICAL
- postDelayed ( )
- SmoothScroller ( )
- getDecoratedBoundsWithMargins ( )
- getMeasuredHeight ( )
- getLocationOnScreen ( )
- removeItemDecoration ( )
- getMeasuredWidth ( )
- computeVerticalScrollOffset ( )
- setClipToPadding ( )
- OnItemTouchListener ( )
- NO_ID
- removeOnScrollListener ( )
- removeOnChildAttachStateChangeListener ( )
- setOnTouchListener ( )
- RecyclerListener ( )
- findViewHolderForLayoutPosition ( )
- smoothScrollBy ( )
- setBackgroundColor ( )
- getParent ( )
- setOverScrollMode ( )
- setFocusable ( )
- ViewCacheExtension ( )
- getScrollState ( )
- OnFlingListener ( )
- getClipToPadding ( )
- smoothScrollToPosition ( )
- setBackgroundResource ( )
- MarginLayoutParams ( )
- removeCallbacks ( )
- HORIZONTAL
- OnChildAttachStateChangeListener ( )
- isAttachedToWindow ( )
- getId ( )
- getRight ( )
- setLayoutAnimation ( )
- getItemDecorationCount ( )
- INVALID_TYPE
- getResources ( )
- setOnFlingListener ( )
- getHandler ( )
- getTop ( )
- invalidateItemDecorations ( )
- setVerticalScrollBarEnabled ( )
- setItemViewCacheSize ( )
- post ( )
- getItemAnimator ( )
- requestLayout ( )
- canScrollVertically ( )
- computeVerticalScrollRange ( )
- computeHorizontalScrollRange ( )
Related Classes
- android.os.Bundle
- android.content.Context
- android.view.View
- android.util.Log
- android.widget.TextView
- android.content.Intent
- android.view.ViewGroup
- android.app.Activity
- android.view.LayoutInflater
- android.os.Build
- android.widget.Toast
- android.widget.ImageView
- android.graphics.Color
- android.os.Handler
- android.net.Uri
- android.graphics.Canvas
- android.widget.Button
- android.graphics.Bitmap
- android.text.TextUtils
- android.view.MotionEvent
- android.graphics.drawable.Drawable
- android.widget.LinearLayout
- android.support.annotation.Nullable
- android.widget.EditText
- android.support.annotation.NonNull
Java Code Examples for android.support.v7.widget.RecyclerView#getHandler()
The following examples show how to use
android.support.v7.widget.RecyclerView#getHandler() .
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: SwipeItemTouchListener.java From Tangram-Android with MIT License | 5 votes |
private static boolean isAttachedToWindow(RecyclerView hostView) { if (Build.VERSION.SDK_INT >= 19) { return hostView.isAttachedToWindow(); } else { return (hostView.getHandler() != null); } }
Example 2
Source File: SwipeItemTouchListener.java From Tangram-Android with MIT License | 5 votes |
private static boolean isAttachedToWindow(RecyclerView hostView) { if (Build.VERSION.SDK_INT >= 19) { return hostView.isAttachedToWindow(); } else { return (hostView.getHandler() != null); } }
Example 3
Source File: ClickItemTouchListener.java From PlayWidget with MIT License | 5 votes |
private boolean isAttachedToWindow(RecyclerView hostView) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { return hostView.isAttachedToWindow(); } else { return (hostView.getHandler() != null); } }
Example 4
Source File: ClickItemTouchListener.java From MultiView with Apache License 2.0 | 5 votes |
private boolean isAttachedToWindow(RecyclerView hostView) { if (Build.VERSION.SDK_INT >= 19) { return hostView.isAttachedToWindow(); } else { return (hostView.getHandler() != null); } }
Example 5
Source File: ClickItemTouchListener.java From Mover with Apache License 2.0 | 5 votes |
private boolean isAttachedToWindow(RecyclerView hostView) { if (Build.VERSION.SDK_INT >= 19) { return hostView.isAttachedToWindow(); } else { return (hostView.getHandler() != null); } }
Example 6
Source File: ClickItemTouchListener.java From UpcomingMoviesMVP with Apache License 2.0 | 5 votes |
private boolean isAttachedToWindow(RecyclerView hostView) { if (Build.VERSION.SDK_INT >= ANDROID_SDK_19) { return hostView.isAttachedToWindow(); } else { return hostView.getHandler() != null; } }
Example 7
Source File: ClickItemTouchListener.java From UltimateAndroid with Apache License 2.0 | 5 votes |
private boolean isAttachedToWindow(RecyclerView hostView) { if (Build.VERSION.SDK_INT >= 19) { return hostView.isAttachedToWindow(); } else { return (hostView.getHandler() != null); } }