diff options
author | Niedermann IT-Dienstleistungen <info@niedermann.it> | 2018-10-12 13:16:56 +0300 |
---|---|---|
committer | Niedermann IT-Dienstleistungen <info@niedermann.it> | 2018-10-12 13:16:56 +0300 |
commit | 7ee6563bba2170d07f8fdc418a8844367786d295 (patch) | |
tree | 78b4913f308c7abb8ebef50f87f52a5ab31f3b1f /app | |
parent | 2b78f5cd937382922c46dddca3b89858b35a604b (diff) |
Display all boards
Diffstat (limited to 'app')
3 files changed, 3 insertions, 2 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/BoardAdapter.java b/app/src/main/java/it/niedermann/nextcloud/deck/BoardAdapter.java index c29ff757b..3a5cf6cd6 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/BoardAdapter.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/BoardAdapter.java @@ -21,7 +21,7 @@ class BoardAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> { @NonNull @Override - public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) { + public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int position) { View v = LayoutInflater.from(viewGroup.getContext()).inflate(R.layout.fragment_board_item, viewGroup, false); return new BoardViewHolder(v); } diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/MainActivity.java b/app/src/main/java/it/niedermann/nextcloud/deck/MainActivity.java index f3ca61e8a..0abc1a3a6 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/MainActivity.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/MainActivity.java @@ -15,6 +15,7 @@ import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.view.View; +import android.widget.TextView; import com.nextcloud.android.sso.api.NextcloudAPI; import com.nextcloud.android.sso.helper.SingleAccountHelper; diff --git a/app/src/main/res/layout/fragment_board_item.xml b/app/src/main/res/layout/fragment_board_item.xml index ddafe9c33..2bc935ca9 100644 --- a/app/src/main/res/layout/fragment_board_item.xml +++ b/app/src/main/res/layout/fragment_board_item.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="wrap_content"> <android.support.v7.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" |