Android: restore grid scroll depth after process death

Aperta
#52 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, kotlin
Ambito
databases, mobile

Direzione di ricerca

Start in android/feature/photos/ to trace grid position restoration, then read android/core/data/ for paging and remote keys and the hub timeline cursor flow using start_at and after. Use the paging harness to check process-death restoration with filters and albums, including visibility expiry on 423; done means the grid returns near its previous created_at anchor without saving additional asset IDs.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

android difficulty: intermediate enhancement foldable

Context

Grid depth is kept across fold/unfold, but after process death the viewer restores only the selected asset if it is
not in the first loaded page, and the grid returns to the top.

Acceptance criteria

  • After process death the grid reopens near the previous position (anchor by created_at cursor, not by index).
  • Works with filters and albums; respects visibility expiry (no flash of content when 423).
  • Test with the paging harness; no asset ids written to saved state beyond what is already allowed.

Pointers

  • android/feature/photos/, android/core/data/ (paging, remote keys), hub timeline cursors (start_at, after)
Lingua principale
Kotlin
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ft-dev-org/cloudbridge-oss

Tutte le issue di ft-dev-org/cloudbridge-oss

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.