Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.constraint.ConstraintLayout 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:layout_width="match_parent"
- android:layout_height="wrap_content">
- <TextView
- android:id="@+id/restaurant_dish_option_viewholder_optionNameTextView"
- android:layout_width="0dp"
- android:layout_height="19dp"
- android:layout_marginEnd="20dp"
- android:layout_marginStart="20dp"
- android:layout_marginTop="10dp"
- android:fontFamily="@font/lato_regular"
- android:text="Name"
- android:textColor="@color/text_darkGray"
- android:textSize="14sp"
- app:layout_constraintEnd_toStartOf="@+id/restaurant_dish_option_viewholder_checkmark"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- tools:ignore="HardcodedText" />
- recyclerView.setLayoutManager(new LinearLayoutManager(this));
- RestaurantDish_RecyclerView_Adapter adapter = new RestaurantDish_RecyclerView_Adapter(structuredOptionsExtras);
- recyclerView.setAdapter(adapter);
Add Comment
Please, Sign In to add comment