From: Damyan Ivanov Date: Tue, 23 Apr 2019 00:52:34 +0000 (+0300) Subject: correct constant for vertival layout X-Git-Tag: v0.10.0~72 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=525e6447f916a0c34c45cd5a3b5f6a26b034b0c2;p=mobile-ledger.git correct constant for vertival layout --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java index 48b0e007..aa5a2dfe 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java @@ -43,6 +43,7 @@ import org.jetbrains.annotations.NotNull; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; import static android.content.Context.INPUT_METHOD_SERVICE; import static net.ktnx.mobileledger.utils.Logger.debug; @@ -102,7 +103,7 @@ public class TransactionListFragment extends MobileLedgerListFragment { LinearLayoutManager llm = new LinearLayoutManager(mActivity); - llm.setOrientation(LinearLayoutManager.VERTICAL); + llm.setOrientation(RecyclerView.VERTICAL); root.setLayoutManager(llm); swiper.setOnRefreshListener(() -> {