-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using material-calendarview in jetpack compose #1143
Comments
I tried using AndroidView, and it works fine.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to use this calendar within jetpack compose?
I am getting an error doing so.
compose code:
@Composable fun MaterialCalendarView() { val color = MaterialTheme.colorScheme.surface.toArgb() AndroidViewBinding(CalendarViewBinding::inflate) { calendar.setBackgroundColor(color) } }
exception:
Throwing OutOfMemoryError "Failed to allocate a 430032 byte allocation with 297064 free bytes and 290KB until OOM, target footprint 201326592, growth limit 201326592" (VmSize 33280556 kB, recursive case)
The text was updated successfully, but these errors were encountered: