All Questions
3 questions
1
vote
0
answers
54
views
How to transfere Kotlin fragment code "by lazy " to Java fragment?
I have kotlin working fragment. I want to rewrite it to Java.
I need to get viewModell inisialization in Java. How do i get it? I tried to use bitecode migration, but it gives a long code.
Kotlin file:...
1
vote
1
answer
72
views
Network state casting issue in java
I have been using a network check functionality in-app, but all things are available in Kotlin now the same thing wants to integrate in java facing some issue related to lazy calling.
This is how I ...
0
votes
1
answer
379
views
NoClassDefFoundError when use kotlin Lazy with inner class
Just consider code below:
fun doAction(data: Any?, action: (Any?) -> Unit) {
action(data)
}
class Outer {
val a = "a"
val b = "b"
val inner by lazy { Inner() }
...