feat(android): add HomeTile model for per-tile hydration

This commit is contained in:
2026-05-28 18:12:57 -04:00
parent 68891f1df9
commit 5b5bff767a
@@ -0,0 +1,10 @@
package com.fabledsword.minstrel.models
/**
* A Home section entry: the stable entity [id] (always known from the
* cached_home_index) paired with its hydrated [value], or null while the
* entity row hasn't landed in Room yet. The UI renders a skeleton tile
* for null and the real card for non-null, keyed by [id] so the swap is
* a content change rather than a re-key.
*/
data class HomeTile<out T>(val id: String, val value: T?)