Questions tagged [expandablerecyclerview]

an Android library to allow for an expanded view to be attached to each ViewHolder.

Expandable RecyclerView is a library written to allow for an expanded view to be attached to each ViewHolder. To allow for full functionality of a normal RecyclerView, the RecyclerView has been modified to use two types of ViewHolders, a child and a parent with the ability to customize each separately.

This library has been deprecated.

98 questions
0
votes
1 answer

RecycleView 2 columns with horizontally expandable card

I'm looking for how to implement this with recycleview and layout manager like at the screenshots. Grid with 2 columns (same size). Each card could be expanded by click overlapping its horizontal neighbour. And by click it'd collapse back to its…
0
votes
1 answer

What is this recycler view or listview it contains four buttons?

I want to create a expandable list with four child buttons in a row. And also click working on that buttons. what can i use in android studio. i have checked so many even tried expandable ListView that is generating child in the vertical manner.
Rover
  • 661
  • 2
  • 18
  • 39
0
votes
2 answers

Type mismatch.Required: MutableList>

I'm trying to do expandale recyclerview and I use thoughtbot/expandable-recycler-view, but I've problem with adapter. Maybe someone had similar problem and can help me to solve this problem 1) code of my Parent Class /****** parent ******/ class…
0
votes
0 answers

RecyclerView expand/collapse

I want to expand/collapse content like below image when I click on a item of RecyclerView. It's the same effect of the new Android recent calls history list. The options "CALL" and "DETAILS" or "SEND MESSAGE" are visible only when an item is…
0
votes
2 answers

Recycler view off screen child view holder returning null

I have 20 child views in recyclerView, on launch only 5 are visible. If I try access the off screen child view holder, null is returned. How to solve this issue? RecyclerView.ViewHolder holder =…
0
votes
0 answers

How to refresh the content inside the itemview in RecycleView after adding it in view

Initially it takes full width of screen. But after adding another column. Card size changes but content inside the view is not aligned based on that. Some of the contents are cropped.
0
votes
1 answer

collapse all recycler view sections except one.. set image resource

I am trying to collapse all sections in recyclerview except one ( currently selected).. I can collapse all items successfully.. but I want to reverse the arrow direction in headerholder.. I Using the library as …
0
votes
0 answers

Expandable Recyclerview Android

I tried to create recyclerview with its adapter, working fine but failed to create child recyclerview on click of its parent Item. Required this type of layout https://github.com/thoughtbot/expandable-recycler-view but unfortunately failed to…
Erum
  • 790
  • 3
  • 14
  • 36
0
votes
0 answers

How to create an expandable RecyclerView in xamarin.android

I am trying to convert below android(java adapter) code to xamarin.android(C#). 1. ExpandableRecyclerAdapter.java public abstract class ExpandableRecyclerAdapter extends…
Ankur Pachauri
  • 141
  • 1
  • 8
0
votes
1 answer

Expand the first item of the recyclerview on startup without touching it

@Override public void onBindViewHolder(SubCategoryHolder holder, final int position) { final boolean isExpanded = position == mExpandedPosition; holder.tv_hashtags.setVisibility(isExpanded ? View.VISIBLE : View.GONE); …
0
votes
1 answer

ExpandableRecyclerView Android

I am working on project, where I need Expandable RecyclerView. I did everything, but have some problem with "child" (rows) of every "parent". Here is my code for "parents". First item on recycle view will be "Option 1", second "Option 2", and so…
0
votes
1 answer

Expandable RecyclerView, having some items not expandable

To show list of books in an Android App, I need an expandable RecyclerView, having "some" items expandable and some not, please check attachment. I checked these libraries :…
AVEbrahimi
  • 17,993
  • 23
  • 107
  • 210
0
votes
1 answer

RecyclerView Two Types item height wrap content

I use two ViewTypes in my adapter to show different layouts: case 0: return new Holder(LayoutInflater.from(parent.getContext()).inflate(R.layout.faq_item, parent, false)); case 2: return new…
0
votes
1 answer

Keep crashing when expandable recyclerview's notifyDataSetChanged() is called inside Firebase ddChildEventListener

The following code when i put inside Firebase's addChildEventListener -> onChildAdded overrided function, is working, instead of myRecyclerViewAdapter.notifyDataSetChanged() expendableRecyclerViewAdapter = new…
Aliy
  • 406
  • 6
  • 21
0
votes
2 answers

How to implement onclicklistener on expandable recyclerview

I have a recycler view that was expanded as implemented here. I want to implement onClickListener on the children of the recycler view so that when i click the child, i will get a Toast message displaying the text that is contained in the child…