leboncoin/spark-android
[FR]: Add @ExperimentalSparkApi opt-in note to Sliders.md
Chiusa
#2114 aperta il 27 lug 2026
componentcontribution welcomeddocumentationgood first issuepriority:MEDIUM
Metriche repository
- Star
- (85 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Describe the problem
Both Slider and RangeSlider are annotated @ExperimentalSparkApi in source but the documentation does not mention this. Users who follow the docs get a compile error without the opt-in annotation.
Describe the solution
Add a callout to Sliders.md:
> [!IMPORTANT]
> Both `Slider` and `RangeSlider` require `@OptIn(ExperimentalSparkApi::class)`.
Additional context
Priority: Medium. Effort: XS.