Android: restore grid scroll depth after process death

Abierto
#52 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
android, kotlin
Área
databases, mobile

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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)
Lenguaje dominante
Kotlin
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ft-dev-org/cloudbridge-oss

Todos los issues de ft-dev-org/cloudbridge-oss

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.