You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privateclassButtonParameter : PreviewParameterProvider<List<Any?>> {
overrideval values:Sequence<List<Any?>>
get() = sequenceOf(
listOf<Any?>("Very, very long button text that takes two lines", R.drawable.ic_charge, true, false),
listOf<Any?>("Button", null, true, false),
...
funButtonSecondaryPreview(@PreviewParameter(ButtonParameter::class) properties:List<Any?>)
The linter complains about this and in normal code this would be great, but I don't really see the point of changing it in previews. Just takes a bit of time, but it's not time spent effectively apart from making the linter happy.
The text was updated successfully, but these errors were encountered:
I have something like this in use:
The linter complains about this and in normal code this would be great, but I don't really see the point of changing it in previews. Just takes a bit of time, but it's not time spent effectively apart from making the linter happy.
The text was updated successfully, but these errors were encountered: