Skip to content

fix activity transitions by limiting view rebinding

Conny Duck requested to merge ConnyDuck/fdroidclient:fix-back-animation into master

Closes #1636 (closed)

The problem are views in the RecyclerView getting recycled and rebound to different locations. I fixed the problem by

  • using the new ListAdapter on List based adapters - it calculates a diff on the submitted list and only rebinds when something changed (this is definitely save)
  • not dispatching notifyDataSetChanged on Cursor based adapters when the cursor did not change (Im not 100% sure if there will be a new Cursor object when the data changed though - help testing this would be appreciated)

Merge request reports