Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

BasicLabelFormatter

public final class BasicLabelFormatter
extends Object implements LabelFormatter

java.lang.Object
   ↳ com.google.android.material.slider.BasicLabelFormatter


A simple implementation of the LabelFormatter interface, that limits the number displayed inside a discrete slider's bubble to three digits, and a single-character suffix that denotes magnitude (e.g.: 1.5K, 2.2M, 1.3B, 2T).

Summary

Inherited constants

Public constructors

BasicLabelFormatter()

Public methods

String getFormattedValue(float value)

Inherited methods

Public constructors

BasicLabelFormatter

public BasicLabelFormatter ()

Public methods

getFormattedValue

public String getFormattedValue (float value)

Parameters
value float

Returns
String