All Projects → dcampogiani → ViewPagerSlidingLottie

dcampogiani / ViewPagerSlidingLottie

Licence: other
Animate LottieAnimationView with a viewpager

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to ViewPagerSlidingLottie

Jetpack-Compose-MVI-Demo
Demo / Sample Android Project created with Jetpack Compose and MVI Architecture Pattern
Stars: ✭ 114 (+280%)
Mutual labels:  lottie, lottie-android
Compose-ToDo
A fully functional Android TODO app built entirely with Kotlin and Jetpack Compose
Stars: ✭ 130 (+333.33%)
Mutual labels:  lottie, lottie-android
lottie-idea
Android Studio and IntelliJ IDEA viewer plugin for Lottie animations
Stars: ✭ 36 (+20%)
Mutual labels:  lottie, lottie-android
LottieExampleProject
This is an example project for using Lottie in Android applications
Stars: ✭ 17 (-43.33%)
Mutual labels:  lottie, lottie-android
Overscroll Decor
Android: iOS-like over-scrolling effect applicable over almost all scrollable Android views.
Stars: ✭ 2,671 (+8803.33%)
Mutual labels:  viewpager
Viewpagerdots
👀 Simple, compact Kotlin library for ViewPager page indicators.
Stars: ✭ 168 (+460%)
Mutual labels:  viewpager
Dropindicator
A ViewPager indicator use Bezier curve
Stars: ✭ 161 (+436.67%)
Mutual labels:  viewpager
Flipviewpager.draco
This project aims to provide a working page flip implementation for usage in ListView.
Stars: ✭ 1,849 (+6063.33%)
Mutual labels:  viewpager
MetalRecyclerPagerView
RecyclerView implementation for Android which makes it look and feel like ViewPager with item margins support (mutliple views effect).
Stars: ✭ 26 (-13.33%)
Mutual labels:  viewpager
ViewWorld
自定义View合集,展示各种自定义View/控件。项目包含了自定义Banner轮播图控件,自定义验证码输入框,自定义TabLayout等控件,持续更新中😉😉😉
Stars: ✭ 94 (+213.33%)
Mutual labels:  viewpager
Viewpagertransforms
Library containing common animations needed for transforming ViewPager scrolling for Android v13+.
Stars: ✭ 2,477 (+8156.67%)
Mutual labels:  viewpager
Tabman
™️ A powerful paging view controller with interactive indicator bars
Stars: ✭ 2,235 (+7350%)
Mutual labels:  viewpager
Transferee
一个帮助您完成从缩略视图到原视图无缝过渡转变的神奇框架
Stars: ✭ 2,697 (+8890%)
Mutual labels:  viewpager
Expandingpager
ExpandingPager is a card peek/pop controller
Stars: ✭ 1,906 (+6253.33%)
Mutual labels:  viewpager
Mu5ViewPager
仿小红书商品详情效果,根据图片高度动态变化的ViewPager(平滑过渡~)😀😀
Stars: ✭ 64 (+113.33%)
Mutual labels:  viewpager
Cardslider
Card Slider is an android component allows you to implement carousel effect with infinite indicators and more features
Stars: ✭ 160 (+433.33%)
Mutual labels:  viewpager
Mzbannerview
仿魅族BannerView,图片轮播控件,支持多种模式切换:普通ViewPager使用,普通Banner使用,仿魅族Banner使用。
Stars: ✭ 2,298 (+7560%)
Mutual labels:  viewpager
Glazy Viewpager
Android ViewPager template with cool animation.
Stars: ✭ 250 (+733.33%)
Mutual labels:  viewpager
Dotsindicator
Three material Dots Indicators for view pagers in Android !
Stars: ✭ 2,447 (+8056.67%)
Mutual labels:  viewpager
Lastpageradapter
Don't write a ViewPager Adapter! Hook up your ViewPager to your data model using Android Data Binding Framework. With Kotlin support!
Stars: ✭ 181 (+503.33%)
Mutual labels:  viewpager

ViewPagerSlidingLottie

Demo

How to do it

Add LottieAnimationView to XML:

<LinearLayout 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:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <com.airbnb.lottie.LottieAnimationView
        android:id="@+id/header"
        android:layout_width="match_parent"
        android:layout_height="240dp"
        android:scaleType="centerCrop"
        app:lottie_rawRes="@raw/header" />

    <android.support.v4.view.ViewPager
        android:id="@+id/pager"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

</LinearLayout>

Setup with ViewPager

pager.adapter = Adapter(...)
header.setupWithViewPager(pager)

Thanks

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].