Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 1

ViewDebug.IntToString

public static abstract @interface ViewDebug.IntToString
implements Annotation

android.view.ViewDebug.IntToString


Defines a mapping from an int value to a String. Such a mapping can be used in an @ExportedProperty to provide more meaningful values to the end user.

Summary

Public methods

int from()

The original int value to map to a String.

String to()

The String to use in place of the original int value.

Inherited methods

Public methods

from

public int from ()

The original int value to map to a String.

Returns
int An arbitrary int value.

to

public String to ()

The String to use in place of the original int value.

Returns
String An arbitrary non-null String.