use of wannabit.io.cosmostaion.task.gRpcTask.OsmosisLockupStatusGrpcTask in project cosmostation-android by cosmostation.
the class LabsListActivity method onFetchPoolListInfo.
public void onFetchPoolListInfo() {
WLog.w("onFetchPoolListInfo ");
mTaskCount = 4;
mPoolList = new ArrayList<>();
mPoolMyList = new ArrayList<>();
mPoolOtherList = new ArrayList<>();
mIncentivizedPool = new ArrayList<>();
mActiveGauges = new ArrayList<>();
mPeriodLockUps = new ArrayList<>();
new OsmosisPoolListGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
new OsmosisIncentivizedPoolsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
new OsmosisActiveGaugesGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
new OsmosisLockupStatusGrpcTask(getBaseApplication(), this, mBaseChain, mAccount.address).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
}
Aggregations