Skip to content

axzae/android-swipe-layout

 
 

Repository files navigation

Android Swipe Layout

build github tag maven central

This is a AndroidX implementation of daimajia's AndroidSwipeLayout.

By using this version, you can safety turn off Jetifier in your project.

Usage

Gradle

# gradle.properties

android.useAndroidX=true
android.enableJetifier=false
// build.gradle.kts (app module)

dependencies {
    implementation("com.axzae:swipelayout:1.3.0")
}

Layout file

<com.daimajia.swipe.SwipeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/layout_swipe"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:drag_edge="right"
    app:show_mode="pull_out">

    <!-- <LinearLayout /> -->

</com.daimajia.swipe.SwipeLayout>

See Also