leboncoin/spark-android
View on GitHub[FR]: Add @ExperimentalSparkApi opt-in note to Sliders.md
Open
#2,114 opened on Jul 27, 2026
componentcontribution welcomeddocumentationgood first issuepriority:MEDIUM
Repository metrics
- Stars
- (85 stars)
- PR merge metrics
- (PR metrics pending)
Description
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.