You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When opening up VerticalYearCalendar, it focus on the given year at the top, but I want to make current day and the the current month visible when loaded.
For example, by chaning the Example11Page sample code.
In the view version, there are scrollToMonth and scrollToDay functions in the year calendar, but these unfortunately do not yet exist in the compose library. I am hoping to add them at some point in the future when I have some time.
Library information:
Question:
When opening up VerticalYearCalendar, it focus on the given year at the top, but I want to make current day and the the current month visible when loaded.
For example, by chaning the
Example11Page
sample code.Change
Calendar/sample/src/main/java/com/kizitonwose/calendar/sample/compose/Example11Page.kt
Line 53 in f0ddb81
to
Change
monthColumn
to 2 to ensure that not all months are visible.Add code above to
Calendar/sample/src/main/java/com/kizitonwose/calendar/sample/compose/Example11Page.kt
Line 73 in f0ddb81
with
Change
Calendar/sample/src/main/java/com/kizitonwose/calendar/sample/compose/Example11Page.kt
Lines 91 to 93 in f0ddb81
to
Launch the example. We can see that it does not focus on 2024 Sep.
Is there any workaround for it?
The text was updated successfully, but these errors were encountered: