# SwipeMenu **Repository Path**: liustar2017/SwipeMenu ## Basic Information - **Project Name**: SwipeMenu - **Description**: No description available - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-05-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README SwipeMenu ========= A swipe menu for `horizontal/vertical`, support `left/right and top/bottom` directions, low coupling, can fast rapid integration into your project Features ======== * Support LinearLayoutManager、GridLayoutManager and StaggeredGridLayoutManager for RecyclerView (`only horizontal`) * Support ListView and GridView (`only horizontal`) * Support ScrollView (`only horizontal` and the `[SwipeHorizontal/SwipeVertical]MenuLayout` must be the direct child of ScrollView's direct child ) * On-off swipe ability * Not intercept item touch event * Left/Right and Top/Bottom menu support, free switch Preview ======= ![DEMO](https://github.com/TUBB/SwipeMenu/blob/master/art/demo.gif) Usage ===== Add to dependencies ``` dependencies { compile 'com.tubb.smrv:swipemenu-recyclerview:5.4.7' } ``` #### Horizontal Just use `SwipeHorizontalMenuLayout`, we use `SwipeHorizontalMenuLayout` ViewGroup to combine item content view and `left/right(at least one)` swipe menu ```xml ``` If you have so many items, you may be want to use our custom RecyclerView ```xml ``` ### Vertical Just use `SwipeVerticalMenuLayout`, we use `SwipeVerticalMenuLayout` ViewGroup to combine item content view and `top/bottom (at least one)` swipe menu ```xml