question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Replace current recyclerview implementation with BindableAdapter usage

See original GitHub issue

Currently the entire project has two types of RecyclerView implementation:

  1. Recyclerview using BindableAdapter (OngoingStoryListActivity, CompletedStoryListActivity, etc.) uses it)

  2. Recyclerview with the RecyclerViewAdapter which inflates multiple layouts.

We need to change the implementation such that all RecyclerViewAdapter to use BindableAdapter (i.e. approach similar to OngoingStoryListActivity, CompletedStoryListActivity).

Checklist

  • ContinuePlaying (assigned to @veena14cs )
  • HomeFragment (assigned to @jcqli)
  • StoryActivity (Already done)
  • TopicReview/Revision (Assigned to @Sarthak2601 )
  • TopicPlay/Lessons
  • TopicTrain/Practice (assigned to @Luffy18346 )
  • HelpActivity (Assigned to @SayantanBanerjee16 )
  • HintsAndSolutionAdapter (Assigned to @anandwana001 )
  • OngoingListAdapter (open)
  • TopicListAdapter (assigned to @jcqli)
  • LanguageSelectionAdapter (assigned to @FareesHussain)
  • StorySummaryAdapter (open)
  • PromotedStoryListAdapter (assigned to @jcqli)

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:35 (34 by maintainers)

github_iconTop GitHub Comments

1reaction
imraghav20commented, Feb 2, 2021

may I take up HintsAndSolutionAdapter? @rt4914 @imraghav20

@MaskedCarrot I am currently working on it.

1reaction
rt4914commented, Jan 23, 2021

@imraghav20 Definitely have a go at it. It should be doable considering there are enough code samples already in codebase. But if you are not able to solve it thats fine, just mention it and we will assign you something else.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to bind a list of items to a RecyclerView with Android ...
We can write a custom Binding Adapter and use Data Binding. ... And finally we change the implementation of the BindingAdapter.
Read more >
How to update RecyclerView Adapter Data - Stack Overflow
This is a general answer. The various ways to update the adapter data are explained. The process includes two main steps every time:....
Read more >
Recyclerview - Android Developers
Display large sets of data in your UI while minimizing memory usage. This table lists all the artifacts in the androidx.recyclerview group. Artifact,...
Read more >
Flexible RecyclerView Adapter with MVVM and Data Binding
If you want to implement a more sophisticated version with animations, you can use DiffUtil and notify each item change separately.
Read more >
Using the RecyclerView | CodePath Android Cliffnotes
In contrast, implementing an adapter for RecyclerView requires the use of the ViewHolder pattern ... Notes: In the recent version of the Support...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found