• Stars
    star
    416
  • Rank 100,681 (Top 3 %)
  • Language
    Kotlin
  • License
    Apache License 2.0
  • Created over 1 year ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Add Wheel Date - Time Picker in Android Jetpack Compose.

WheelPickerCompose API

Add Wheel Date - Time Picker in Android Jetpack Compose.

Usage

Picker Usage
WheelDateTimePicker { snappedDateTime -> }
WheelDatePicker { snappedDate -> }
WheelTimePicker { snappedTime -> }
WheelTimePicker(timeFormat = TimeFormat.AM_PM) { snappedTime -> }

Features

WheelDateTimePicker(
    startDateTime = LocalDateTime.of(
        2025, 10, 20, 5, 30
    ),
    minDateTime = LocalDateTime.now(),
    maxDateTime = LocalDateTime.of(
        2025, 10, 20, 5, 30
    ),
    timeFormat = TimeFormat.AM_PM,
    size = DpSize(200.dp, 100.dp),
    rowCount = 5,
    textStyle = MaterialTheme.typography.titleSmall,
    textColor = Color(0xFFffc300),
    selectorProperties = WheelPickerDefaults.selectorProperties(
        enabled = true,
        shape = RoundedCornerShape(0.dp),
        color = Color(0xFFf1faee).copy(alpha = 0.2f),
        border = BorderStroke(2.dp, Color(0xFFf1faee))
    )
){ snappedDateTime -> }

Setup

  1. Open the file settings.gradle (it looks like that)
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        // add jitpack here 👇🏽
        maven { url 'https://jitpack.io' }
       ...
    }
} 
...
  1. Sync the project
  2. Add dependency
dependencies {
    implementation 'com.github.commandiron:WheelPickerCompose:1.1.11'
}
  1. < API 26 (optional)
compileOptions {
    coreLibraryDesugaringEnabled true
    //
}
//
dependencies {
    //
    coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.6"
}

More Repositories

1

ComposeLoading

Add loading spinners in Android Jetpack Compose.
Kotlin
44
star
2

AnimatableCompose

Add Animatable Material Components in Android Jetpack Compose. Create jetpack compose animations painless.
Kotlin
39
star
3

ExpandableHorizontalPagerCompose

Add Expandable Horizontal Pager in Android Jetpack Compose.
Kotlin
30
star
4

SpinWheelCompose

Spinwheel for Android using Jetpack Compose.
Kotlin
24
star
5

swipe-search-compose

Add Ios Swipe Search TextField Component in Android Jetpack Compose.
Kotlin
22
star
6

BubbleNavigationBarCompose

Add Bubble Navigation Bar in Android Jetpack Compose.
Kotlin
18
star
7

CheckPack

CheckPack is a native android checklist app for those going on vacation, written in Kotlin using Jetpack Compose.
Kotlin
18
star
8

ComApp

Native Android simple chat application written in Kotlin using Jetpack Compose.
Kotlin
8
star
9

Beson

Beson is a native android construction market price share & track application written in Kotlin using Jetpack Compose.
Kotlin
7
star
10

Sefim

Sefim is a native android tools app for construction site supervisors written in Kotlin using Jetpack Compose with multi-module architecture.
Kotlin
6
star
11

TopRated10Films

TopRated10Films is a native android movie app for create Top 10 movies in desired category, written in Kotlin using Jetpack Compose with themoviedb api.
Kotlin
5
star
12

EstateFeasibilityDesktopApplication

Estate feasibility application written in Kotlin using Compose Desktop UI framework, running On Windows.
Kotlin
3
star
13

flutter_bloc_lessons

C++
1
star
14

MaterialCalculatorCICD

Kotlin
1
star
15

AppIdeasAndroidProjects

Android projects for improving my coding skills inspired from "florinpop17 App Ideas Collection"
1
star
16

flutter_chat

Dart
1
star
17

commandiron.github.io

HTML
1
star
18

Border_radius_previewer_by_command

Kotlin
1
star
19

Calculator_by_command

Kotlin
1
star
20

Christmas_light_by_command

Kotlin
1
star
21

CharityFinder_app_by_command2

Kotlin
1
star
22

BooleBotsGame_app_by_command

Kotlin
1
star
23

BookFinderApp_by_command

Kotlin
1
star
24

Brighten_Game_by_command

Kotlin
1
star
25

Cause_effect_app_by_command

Kotlin
1
star
26

Bin2Dec_by_command

Kotlin
1
star
27

BattleshipGameEngine_by_command

Kotlin
1
star
28

Color_cycle_app_by_command

Kotlin
1
star
29

FirstMultiModuleArchitectureCalorieTrackerApp

Native Android calory tracker application written in Kotlin using Jetpack Compose with Multi-Module Architecture.
Kotlin
1
star
30

BitMasks_app_by_command

Kotlin
1
star
31

CardMemoryGame_app_by_command

Kotlin
1
star
32

great_places

Dart
1
star
33

commandiron

My personal repository.
1
star
34

deli_meal

Dart
1
star
35

HandyCompose

Kotlin
1
star
36

expense_planner

Dart
1
star
37

Deneme-Web

HTML
1
star
38

website_try

Dart
1
star
39

qr_projem

Dart
1
star
40

BigDecimalVisualTransformationCompose

Visual Transformation For Big Decimals in Android Jetpack Compose
Kotlin
1
star
41

CalorieCounter_app_by_command

Kotlin
1
star
42

demirli_tech

Dart
1
star
43

virtual_showroom

Dart
1
star
44

shop_app

Dart
1
star
45

BesonApp

Beson is a native android construction market price tracking application written in Kotlin using Jetpack Compose.
Kotlin
1
star
46

mgs_app

Metal Gear Solid fan app written in Dart using Flutter Framework with self-written RestApi Mgs Server
Dart
1
star
47

mgs-server

Metal Gear Solid Rest Api written in Kotlin using Ktor.
Kotlin
1
star
48

OutlinedDropDownMenuComposeLibrary

Add Outlined Drop-down Menu in Android Compose
Kotlin
1
star
49

single_web_page

Create Single Web Page Layout with easy and optimized scrolling options in Flutter.
Dart
1
star