Truffle Shuffle

screenshot of Truffle Shuffle

An Android data-driven, percentage-based UI Card Gallery Library

Overview

Truffle Shuffle is an innovative Android UI component that offers a dynamic card gallery experience, perfect for enhancing the visual appeal of any app. Built entirely in Kotlin, this library provides a unique approach to displaying lists of objects in a fun and engaging manner. By leveraging a customizable layout and animations, it serves as a versatile solution for developers looking to create attractive user interfaces, as seen in TurboTax's mobile application.

The library’s design revolves around array-driven data, allowing easy adjustments based on the content and number of items displayed. By integrating the Truffle Shuffle card gallery into an application, developers can ensure a polished look that is both intuitive and visually stimulating.

Features

  • Custom ViewGroup: Truffle Shuffle utilizes a specially designed Android ViewGroup, offering unique attributes that dictate card sizes as a percentage of the parent container.

  • Data-driven Customization: Easily customize and adapt the gallery based on the number of objects in an array, making it highly flexible.

  • Kotlin Development: Written entirely in Kotlin, the library aligns well with modern Android development practices and provides a cleaner code base.

  • Easy Integration: Simple setup steps allow developers to quickly add the card gallery to their projects, minimizing time spent on configurations.

  • Flexible Layout Options: Modify the card layout in XML to fit various design requirements, ensuring compatibility with existing app aesthetics.

  • Fun Animations: Engage users with smooth, entertaining animations that enhance the overall user experience.

  • Compliance Tools: Ensure code quality and adherence to project standards with built-in options for formatting and checking compliance.

  • Expandable Features: The library allows for custom content and adapter implementations, enabling developers to extend functionality as needed.