Pavel Sidyakin
12/01/2020, 1:35 PMimport androidx.annotation.FloatRange
typealias ProgressFloatRange = FloatRange(from = 0.0, to = 1.0, fromInclusive = true, toInclusive = true)
Tobias Berger
12/01/2020, 2:42 PMtypealias MyAnnotation = FloatRange
, but you can't sorte an Annotation "instance" in a typealias (or anything else)Matteo Mirk
12/07/2020, 8:54 AM@FloatRange(from = 0.0, to = 1.0, fromInclusive = true, toInclusive = true)
annotation class ProgressFloatRange
the applicability depends on FloatRange retention and target, obviouslyTobias Berger
12/07/2020, 9:04 AMMatteo Mirk
12/07/2020, 9:04 AM