progress.setProgress(++processedTransactionCount);
if (maxTransactionId < transactionId)
maxTransactionId = transactionId;
- if ((progress.isIndeterminate()) || (progress.getTotal() < transactionId))
+ if ((progress.isIndeterminate()) ||
+ (progress.getTotal() < transactionId))
progress.setTotal(transactionId);
publishProgress(progress);
}
if (row == null) {
row = new LinearLayout(ctx);
LayoutInflater inflater = ((Activity) ctx).getLayoutInflater();
- inflater.inflate(
- R.layout.transaction_list_row_accounts_table_row, row);
+ inflater.inflate(R.layout.transaction_list_row_accounts_table_row, row);
holder.tableAccounts.addView(row);
}
TextView dummyText = row.findViewById(R.id.dummy_text);
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright © 2019 Damyan Ivanov.
+<?xml version="1.0" encoding="utf-8"?><!--
+ ~ Copyright © 2020 Damyan Ivanov.
~ This file is part of MoLe.
~ MoLe is free software: you can distribute it and/or modify it
~ under the term of the GNU General Public License as published by
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/new_transaction_navigation"
- app:startDestination="@id/newTransactionFragment">
+ app:startDestination="@id/newTransactionFragment"
+ >
<fragment
android:id="@+id/newTransactionFragment"
android:name="net.ktnx.mobileledger.ui.activity.NewTransactionFragment"
- android:label="NewTransactionFragment" >
+ android:label="NewTransactionFragment"
+ >
<action
android:id="@+id/action_newTransactionFragment_to_newTransactionSavingFragment"
app:destination="@id/newTransactionSavingFragment"
/>
<argument
android:name="error"
+ android:defaultValue="@null"
app:argType="string"
app:nullable="true"
- android:defaultValue="@null"/>
+ />
</fragment>
<fragment
android:id="@+id/newTransactionSavingFragment"
android:name="net.ktnx.mobileledger.ui.NewTransactionSavingFragment"
- android:label="fragment_new_transaction_saving" >
+ android:label="fragment_new_transaction_saving"
+ >
<action
android:id="@+id/action_newTransactionSavingFragment_Success"
app:destination="@id/newTransactionFragment"