This is a AndroidX implementation of daimajia's AndroidSwipeLayout.
By using this version, you can safety turn off Jetifier in your project.
# gradle.properties
android.useAndroidX=true
android.enableJetifier=false
// build.gradle.kts (app module)
dependencies {
implementation("com.axzae:swipelayout:1.3.0")
}
<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>