-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [ANDROAPP-5794] Implement new InputDate Date and TimePicker fun…
…ctionalities
- Loading branch information
1 parent
5fc8fb9
commit c874fd2
Showing
18 changed files
with
156 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
...rg/dhis2/usescases/eventsWithoutRegistration/eventDetails/models/EventInputDateUiModel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
package org.dhis2.usescases.eventsWithoutRegistration.eventDetails.models | ||
|
||
import org.dhis2.usescases.eventsWithoutRegistration.eventDetails.providers.InputDateValues | ||
import org.hisp.dhis.mobile.ui.designsystem.component.SelectableDates | ||
|
||
data class EventInputDateUiModel( | ||
val eventDate: EventDate, | ||
val detailsEnabled: Boolean, | ||
val onDateClick: () -> Unit, | ||
val onDateClick: Unit?, | ||
val allowsManualInput: Boolean = true, | ||
val onDateSet: (InputDateValues) -> Unit, | ||
val onClear: () -> Unit, | ||
val required: Boolean = false, | ||
val showField: Boolean = true, | ||
val is24HourFormat: Boolean = true, | ||
val selectableDates: SelectableDates? = null, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.