leboncoin/spark-android
[FR]: Add @ExperimentalSparkApi opt-in note to Sliders.md
クローズ
#2,114 opened on 2026/07/27
componentcontribution welcomeddocumentationgood first issuepriority:MEDIUM
Repository metrics
- Stars
- (85 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
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.