All Questions
77
questions
0
votes
0
answers
19
views
How can I add multiple dots using decorator in my calendar?
I am using the prolificinteractive material-calendarview, and I also have schedules in the calendar. I already have 1 dot to represent that the day has a schedule on it.This is what my calendar looks ...
0
votes
1
answer
248
views
How to add event in google calendar in kotlin (android)?
val calID: Long? = getCalendarId(context)
val startMillis: Long = Calendar.getInstance().run {
set(2024, 3, 27, 16, 45)
...
0
votes
0
answers
12
views
How to use custom highlightcolor CalendarPickerView in android
I want to change or customized highlight color in Calendarpickerview.
There is no option for change highlight color programmatically.
0
votes
1
answer
61
views
how can i change some days background color in Applandeo calendarview
i want to change some days background color to other color but it doesnt work that i expect
val calendarView: CalendarView = attendanceInquiryBinding.attendanceCalendarView
val ...
1
vote
1
answer
126
views
How do I use a GitHub Fork in Android Studio?
Library information:
Library : https://github.com/kizitonwose/Calendar
Version: 2.4.1 Forked
View or Compose module: View
Question:
Hello!
I'd like to use my fork in another kotlin project in the ...
1
vote
2
answers
54
views
Is there a way to get last selected position with current selected position from recyclerview android kotlin?
I'm currently using recyclerview to build a custom calendar for an android app.
This app is contains elements about schedule management, and that raised a demand to make multiple date selection via ...
0
votes
0
answers
161
views
Kotlin Android : How to make a date picker spinner in the year of the Buddhist era
enter image description here
class DatePickerLayoutActivity : AppCompatActivity(), DatePickerDialog.OnDateSetListener,
DatePicker.OnDateChangedListener {
override fun onCreate(...
0
votes
1
answer
60
views
How to code for an iOS style rotating animation
!(https://th.bing.com/th/id/OIP.ChQ6m89PO_1Dm_FexkwrUAAAAA?pid=ImgDet&dpr=2)
I would like to code this in Jetpack compose and have seen various other implementations already on stack overflow.
...
2
votes
0
answers
91
views
How to save time (Localtime) from WheelTimePicker on API 24?
I have a project on Jetpack Compose where I need to make a Wheel time picker to choose the time. I found a solution that looked acceptable.
https://github.com/commandiron/WheelPickerCompose
Then I got ...
0
votes
1
answer
210
views
how to get date without depending on systems date [duplicate]
i want to get the date and time without using the systems date
i am using android studio emulator changing emulators date.
ex: todays date is 2 Feb 2023 but i change my devices date to 26 Feb 2023. i ...
1
vote
1
answer
317
views
Chinese New Year Date on Android
How one could get Chinese New Year Date on Android?
Since API level 24 Android has Chinese Calendar class.
https://developer.android.com/reference/android/icu/util/ChineseCalendar
However, doing it ...
0
votes
0
answers
36
views
How to prevent range Calendar dont't show current date
I have a date range Calendar, everything works.
But when I set a range that not include current date,
the current date look like enable(Althout it can not be clicked)
How to make text color be grey.
...
0
votes
1
answer
429
views
how to set title formatter in prolificinteractive material-calendarview in kotlin
i'm using this method to set my title format but when i click on next arrow button month and year not change, sep,2022 not change
<com.prolificinteractive.materialcalendarview....
0
votes
0
answers
141
views
Android Calendar doesn't add Day
val dayCalendar = Calendar.getInstance()
dayCalendar.time = entryDateC.time
for (day in 1..howManyDays) {
dayCalendar.add(Calendar.DAY_OF_MONTH, 1)
if (!disabledDays.contains(...
0
votes
0
answers
151
views
Get minimal days in first week use Java.Calendar
Java Calendar a very strange thing that works in a very confusing way.
I try to make gaps of the first week of month. But minimalDaysInFirstWeek returns 1.
I have read the documentation and it seems ...