v79
10/12/2022, 9:02 PMclass PercentageVisualTransformation : VisualTransformation {
override fun filter(text: AnnotatedString): TransformedText {
TODO("Not yet implemented")
}
}
The code no longer compiles with an error message: Inheritance from an interface with '@JvmDefault' members is only allowed with -Xjvm-default option
- I'm not comfortable changing compiler options for what, I thought, should be a simple thing to do. Any suggestions?Joseph Hawkes-Cates
10/12/2022, 9:15 PMJoseph Hawkes-Cates
10/12/2022, 9:16 PMJoseph Hawkes-Cates
10/12/2022, 9:17 PMv79
10/12/2022, 9:26 PMAlbert Chang
10/13/2022, 2:26 AMv79
10/13/2022, 10:22 AMVisualTransformation
. I'm still learning, just keen to learn from the most modern approaches.Joseph Hawkes-Cates
10/13/2022, 1:41 PMJoseph Hawkes-Cates
10/13/2022, 1:42 PMandroidx.compose.ui.text.input.VisualTransformation
and not something from some other package?v79
10/13/2022, 8:06 PMInheritance from an interface with '@JvmDefault' members is only allowed with -Xjvm-default option
) from a completely different Android library now - extending from ViewModelProvider.Factory
. Must have something wrong with my project setup in gradle.v79
10/13/2022, 8:23 PMJoseph Hawkes-Cates
10/13/2022, 9:23 PM