# `Rho.Dyn.Screens.Mob`
[🔗](https://github.com/GenericJam/rho/blob/v0.1.0/lib/rho/dyn/screens/mob.ex#L3)

Mob screens as Dyn screens (`config :rho, :dyn, screens:
Rho.Dyn.Screens.Mob`, see `Rho.Dyn.Screens`):

  * a screen is a module that `use Mob.Screen`s and defines `mount/3`;
    its `mount/3` is wrapped to register the screen process with the
    Keeper (mob's router runs each screen in a process of its own);
  * its selftest mounts it on an empty socket (with a placeholder size
    class) and renders it: `render/1` must return a view tree
    (`%{type: atom, children: [...]}` all the way down);
  * mob's router calls the `:after_first_render` hook after the first
    frame; `Mob.Device`'s `:app` events `:will_resign_active`,
    `:did_enter_background` and `:will_terminate` mean the user left.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
