public ChartDataLoader
| Modifier and Type | Method and Description |
|---|---|
void |
load(long from,
long to,
LoadHandle handle)
Loads target data. Is assumed to be called from a non-main thread.
|
void load(long from,
long to,
@NotNull
LoadHandle handle)
Loads target data. Is assumed to be called from a non-main thread.
The implementation is free to choose whether to perform the actual loading in the calling background
thread or to do it in another thread (e.g. using an existing library). The only requirement is to
call LoadHandle.onLoadingEnd when the loading is done.
from - target X start (inclusive)to - target X end (inclusive)handle - load handle to useLoadHandle.onLoadingEnd