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 methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
|
Public constructors
public BasicLabelFormatter ()
Public methods
public String getFormattedValue (float value)
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-05-11 UTC.
[null,null,["Last updated 2022-05-11 UTC."],[],[]]