public static int getProfileIndex(MobileLedgerProfile profile) {
try (LockHolder ignored = profilesLocker.lockForReading()) {
List<MobileLedgerProfile> prList = profiles.getValue();
public static int getProfileIndex(MobileLedgerProfile profile) {
try (LockHolder ignored = profilesLocker.lockForReading()) {
List<MobileLedgerProfile> prList = profiles.getValue();
public static int getProfileIndex(String profileUUID) {
try (LockHolder ignored = profilesLocker.lockForReading()) {
List<MobileLedgerProfile> prList = profiles.getValue();
public static int getProfileIndex(String profileUUID) {
try (LockHolder ignored = profilesLocker.lockForReading()) {
List<MobileLedgerProfile> prList = profiles.getValue();
}
public static int retrieveCurrentThemeIdFromDb() {
String profileUUID = MLDB.getOption(MLDB.OPT_PROFILE_UUID, null);
}
public static int retrieveCurrentThemeIdFromDb() {
String profileUUID = MLDB.getOption(MLDB.OPT_PROFILE_UUID, null);
retrieveTransactionsTask =
new RetrieveTransactionsTask(new WeakReference<>(activity), profile.getValue());
retrieveTransactionsTask =
new RetrieveTransactionsTask(new WeakReference<>(activity), profile.getValue());
retrieveTransactionsTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
}
public static synchronized void stopTransactionsRetrieval() {
retrieveTransactionsTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
}
public static synchronized void stopTransactionsRetrieval() {