leboncoin/spark-android

[FR]: Add @ExperimentalSparkApi opt-in note to Sliders.md

Chiusa

#2114 aperta il 27 lug 2026

 (0 commenti) (0 reazioni) (0 assegnatari)Kotlin (31 fork)auto 404
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.

Guida contributor