toggle menu
ZappBase
androidJvm
switch theme
search in API
Swipe Menu
/
com.zappstudio.swipemenu
/
SwipeMenuHelper
Swipe
Menu
Helper
open
class
SwipeMenuHelper
Created by tubingbing on 16/8/11.
Members
Constructors
Swipe
Menu
Helper
Link copied to clipboard
constructor
(
context
:
Context
,
callback
:
SwipeMenuHelper.Callback
)
Types
Callback
Link copied to clipboard
interface
Callback
Properties
INVALID_POSITION
Link copied to clipboard
val
INVALID_POSITION
:
Int
=
-1
Functions
find
Child
View
Under
Link copied to clipboard
@
Nullable
open
fun
findChildViewUnder
(
x
:
Float
,
y
:
Float
)
:
View
Find the topmost view under the given point.
get
Swipe
Menu
View
Link copied to clipboard
open
fun
getSwipeMenuView
(
itemView
:
View
)
:
View
handle
Dispatch
Touch
Event
Link copied to clipboard
open
fun
handleDispatchTouchEvent
(
ev
:
MotionEvent
)
:
Boolean
handle
List
Down
Touch
Event
Link copied to clipboard
open
fun
handleListDownTouchEvent
(
ev
:
MotionEvent
,
defaultIntercepted
:
Boolean
)
:
Boolean
Handle touch down event, decide whether intercept or not.
reset
Link copied to clipboard
open
fun
reset
(
)