public interface IdProvider
| Modifier and Type | Method and Description |
|---|---|
static IdProvider |
constant()
Obtains a new constant ID provider that provides constant IDs of "-1".
|
int |
next(com.android.resources.ResourceType resourceType)
Provides another unique ID.
|
static IdProvider |
sequential()
Obtains a new ID provider that provides sequential IDs.
|
int next(com.android.resources.ResourceType resourceType)
@NonNull static IdProvider sequential()
The generated IDs follow the usual aapt format of PPTTNNNN.
@NonNull static IdProvider constant()