Skip to content

eric-ampire/lottiefiles-app

Repository files navigation

Lottiefiles App


Lottiefiles App is an Android application built using jetpack compose and Hilt, based on modern Android technology stacks and the MVI architecture. The application is a clone of the [Lottiefiles](https://lottiefiles.com/mobile) mobile application and allows the user to retrieve and save animations, animators and articles locally from an API rest


License API Build Status

Download

Go to the Releases to download the latest APK.

Screenshots

Tech stack & Open-source libraries

  • Minimum SDK level 21
  • 100% Kotlin based + Coroutines + Flow for asynchronous.
  • Hilt (alpha) for dependency injection.
  • JetPack
    • Compose - A modern toolkit for building native Android UI.
    • Coroutines Flow - notify domain layer data to views.
    • Lifecycle - dispose observing data when lifecycle state changes.
    • ViewModel - UI related data holder, lifecycle aware.
    • Room Persistence - construct database.
    • App Startup - Provides a straightforward, performant way to initialize components at application startup.
  • Architecture
    • MVI Architecture (Declarative View - Intent - Model)
    • Clear Architecture pattern
  • Material Design & Animations
  • Lottie Android - Lottie is a library that renders After Effects animations in real time, allowing apps to use animations as easily as they use static images.
  • Accompanist - A collection of extension libraries for Jetpack Compose.
  • Maverics - Mavericks is an Android MVI framework that is both easy to learn yet powerful enough for the most complex flows
  • Ktor - construct the REST APIs and paging network data.
  • Timber - Logging.
  • Github Action - CI/CD

Challenge and difficulties encountered

  • The API was not complete and the stories and animators returned by the API did not have IDs, I had to find a strategy to assign IDs to data that did not have them to avoid duplication in the database.
  • Animations didn't come with any information about whether an animation was popular, recent or featured, so I had to add an extra field to make the queries properly.

License

Designed and developed by 2020 ericampire (Eric Ampire)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages