• Stars
    star
    476
  • Rank 92,280 (Top 2 %)
  • Language
    Kotlin
  • License
    Apache License 2.0
  • Created over 2 years ago
  • Updated 7 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
50
star
2

AnimatableCompose

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

ExpandableHorizontalPagerCompose

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

SpinWheelCompose

Spinwheel for Android using Jetpack Compose.
Kotlin
27
star
5

swipe-search-compose

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

BubbleNavigationBarCompose

Add Bubble Navigation Bar in Android Jetpack Compose.
Kotlin
20
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
9
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
7
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
6
star
12

EstateFeasibilityDesktopApplication

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

MaterialCalculatorCICD

Kotlin
1
star
14

flutter_bloc_lessons

C++
1
star
15

flutter_chat

Dart
1
star
16

AppIdeasAndroidProjects

Android projects for improving my coding skills inspired from "florinpop17 App Ideas Collection"
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

FirstMultiModuleArchitectureCalorieTrackerApp

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

demirli_tech

Dart
1
star
27

Cause_effect_app_by_command

Kotlin
1
star
28

Bin2Dec_by_command

Kotlin
1
star
29

BattleshipGameEngine_by_command

Kotlin
1
star
30

BigDecimalVisualTransformationCompose

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

Color_cycle_app_by_command

Kotlin
1
star
32

BitMasks_app_by_command

Kotlin
1
star
33

CardMemoryGame_app_by_command

Kotlin
1
star
34

commandiron

My personal repository.
1
star
35

great_places

Dart
1
star
36

HandyCompose

Kotlin
1
star
37

expense_planner

Dart
1
star
38

Deneme-Web

HTML
1
star
39

website_try

Dart
1
star
40

qr_projem

Dart
1
star
41

CalorieCounter_app_by_command

Kotlin
1
star
42

virtual_showroom

Dart
1
star
43

deli_meal

Dart
1
star
44

BesonApp

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

mgs_app

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

mgs-server

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

OutlinedDropDownMenuComposeLibrary

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

single_web_page

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

shop_app

Dart
1
star