Fixed
Status Update
Comments
da...@google.com <da...@google.com> #2
hmm room builder cannot take converters because we need them at compile time BUT we can receive a converter factory instead of initializing them ourselves.
Then one can write a type converter producer similar to view models .
https://github.com/googlesamples/android-architecture-components/blob/master/GithubBrowserSample/app/src/main/java/com/android/example/github/viewmodel/GithubViewModelFactory.kt
Then one can write a type converter producer similar to view models .
sh...@gmail.com <sh...@gmail.com> #3
Yes, that would be very much appreciated!
da...@google.com <da...@google.com>
el...@google.com <el...@google.com>
ap...@google.com <ap...@google.com> #4
Hey guys.
Has any progress been made on this issue? It's really frustrating to not be able to inject my own dependencies into type converter classes.
Has any progress been made on this issue? It's really frustrating to not be able to inject my own dependencies into type converter classes.
Description
Component used: androidx room
Version used: 2.4.0
Devices/Android versions reproduced on: Android SDK32
Here is a Kotlin DAO.
However, compileDebugJavaWithJavac FAILED, Because of this.