Fixed
Status Update
Comments
te...@gmail.com <te...@gmail.com> #2
We use build flavours heavily with a lot of common code. The refactoring support in AS is really good but it continually catches us out when it doesn't work across all flavours in a project. It's a big gap for serious product development.
te...@gmail.com <te...@gmail.com> #3
We at my company need this same feature. We have a lot of white labels and need refactor the same class across flavours. :(
te...@gmail.com <te...@gmail.com> #5
+1, I need this very badly
ar...@google.com <ar...@google.com> #6
+1 My company also need this feature.
do...@gmail.com <do...@gmail.com> #7
Can we atleast know the status of the issue please? Will it be fixed or is it in low priority. It's been 4 years.
ar...@google.com <ar...@google.com> #8
We are currently investigating possibly solutions.
do...@gmail.com <do...@gmail.com> #9
+1 This will exclude a lot of unnecessary work. In my work I have 25 flavours. :(
te...@gmail.com <te...@gmail.com> #11
Any update on this?
Description
Version used: 25.3.0
Theme used: Theme.AppCompat.Light.DarkActionBar
Devices/Android versions reproduced on: LG G3, API 23, Xaomi Redmi Note3
I have SwipeRefreshLayout with vertical RecyclerView with items containing horizontal RecyclerView.
load data for first time, scroll down and up - everything ok
In vertical RecyclerView
item 4 horizontal RecyclerView has 1 element
item 5 horizontal RecyclerView has 6 elements
1. load new data to vertical RecyclerView
2. for visible items (and RecyclerViews) onBindViewHolder is called
3. scroll down to item (in my situation it's item 4 which is first invisible item), GapWorker calls prefetchInnerRecyclerViewWithDeadline for horizontal RecyclerView in item but it uses RecyclerView from item 5 or sometimes 6
5. onBindViewHolder for item 4 is called
4. notifyDataSetChanged is called on horizontal RecyclerView adapter in item 4
5. Item 4 title is ok, its horizontal RecyclerView contains 1 element which is also ok but this single element content is from 5th (or sometimes 6th) item 1st element.
It does not happen always and it's really difficult to reproduce this while debugging.
I was not able to reproduce this with setInitialPrefetchItemCount(0).