leboncoin/spark-android

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

Open

#2,114 opened on Jul 27, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Kotlin (31 forks)auto 404
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.

Contributor guide