leboncoin/spark-android

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

已关闭

#2,114 创建于 2026年7月27日

 (0 条评论) (0 个反应) (0 位负责人)Kotlin (31 个派生)auto 404
componentcontribution welcomeddocumentationgood first issuepriority:MEDIUM

仓库指标

星标
 (85 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南