GithubHelp home page GithubHelp logo

mohammadazimi / herodatepicker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hamid97m/herodatepicker

0.0 0.0 0.0 1.34 MB

A Jetpack Compose Date Picker for Persian (Jalali) Calendar by Jetpack Compose.

Home Page: https://github.com/hamid97m/HeroDatePicker

Java 23.93% Kotlin 76.07%

herodatepicker's Introduction

HeroDatePicker

Banner

HeroDatePicker is a customizable date picker component for Android Jetpack Compose that allows users to easily select Persian (Jalali) dates in a visually appealing way. It features a sleek and modern design, with smooth animations and intuitive controls.

Features:

  • Support for Persian (Jalali) calendar system
  • Customizable date format and locale
  • Ability to disable specific dates or date ranges
  • Integration with ViewModel for state management
  • Easy-to-use API with clear documentation

Download

Setup

Configure the repositories

HeroDatePicker is available through the JitPack repository. You can declare this repository in your build script as follows:

Kotlin DSL
repositories {
    maven { url = uri("https://jitpack.io") }
}
Groovy DSL
repositories {
    maven { url 'https://jitpack.io' }
}

Add the dependency

After repository configuration, add a dependency on HeroDatePicker to your module's build.gradle file:

Kotlin DSL
dependencies {
    implementation("com.github.hamid97m:herodatepicker:1.0.0")
}
Groovy DSL
dependencies {
    implementation 'com.github.hamid97m:herodatepicker:1.0.0'
}

Usage

HeroDatePicker(Modifier.fillMaxWidth()) { selectedDate ->
    val (year, month, day) = selectedDate
    println("Selected Date: $year/$month/$day")
}

gif

Contributing

We welcome contributions from the community! If you find a bug or have a feature request, please open an issue on the GitHub repository. If you'd like to contribute code, please fork the repository and submit a pull request.

License

HeroDatePicker is licensed under the MIT License.

herodatepicker's People

Contributors

alibagherifam avatar hamid97m avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.