Understanding RecyclerView setHasFixedSize
I’m having some trouble understanding setHasFixedSize(). I know that it is used for optimization when the size of RecyclerView doesn’t change, from the … Read more
I’m having some trouble understanding setHasFixedSize(). I know that it is used for optimization when the size of RecyclerView doesn’t change, from the … Read more
I am using RecyclerView with GridLayoutManager and I have each item as CardView. Unfortunately, the CardView here does not seem to change its … Read more
My RecyclerView and item has match_parent width but the result is : <view class=”android.support.v7.widget.RecyclerView” android:layout_width=”match_parent” and items: <LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:tools=”http://schemas.android.com/tools” xmlns:fab=”http://schemas.android.com/apk/res-auto” android:id=”@+id/ll_itm” android:orientation=”horizontal” … Read more
I have an application that manage collections of books (like playlists). I want to display a list of collection with a vertical RecyclerView … Read more
I’d like to scroll to the bottom of the RecyclerView list after loading the activity. GENERIC_MESSAGE_LIST = (ArrayList) intent.getExtras().getParcelableArrayList(ConversationsAdapter.EXTRA_MESSAGE); conversationView = (RecyclerView) findViewById(R.id.list_messages); … Read more
I’m trying to use picasso library to be able to load url to imageView, but I’m not able to get the context to … Read more
For my app I am using a RecyclerView inside a ScrollView where the RecyclerView has a height based on its content using this … Read more
My RecyclerView does not call onCreateViewHolder, onBindViewHolder even MenuViewHolder constructor, therefore nothing appears in RecyclerView. I put logs for debugging, and no log … Read more
I have a DialogFragment that contains a RecyclerView (a list of cards). Within this RecyclerView are one or more CardViews that can have … Read more
How to set RecyclerView layoutManager from XML? <android.support.v7.widget.RecyclerView app:layoutManager=”???” android:layout_width=”match_parent” android:layout_height=”match_parent”/> Best Answer 6