MobAsh.ListScreen (mob_ash v0.1.1)

Copy Markdown View Source

Shared parameterized list screen: reads every record of the route-bound :resource via Ash.read!/1 and renders one tappable row per record (tap → detail). The :resource arrives in mount/3 params either from the generated route (route-bound params) or MobAsh.navigate/3.

Summary

Functions

dump_state(assigns)

Callback implementation for Mob.Screen.dump_state/1.

load_state(vsn, stored)

Callback implementation for Mob.Screen.load_state/2.

terminate(reason, socket)

Callback implementation for Mob.Screen.terminate/2.