RL & loading Mobile views' data

jimnastiq's Avatar


01 Aug, 2012 07:10 AM

Hi there,

I'm trying to find an elegant way to load my data before showing the view (optimization for UX). For the moment, my Mediator start the process with a dispatch of a signal (loadMyData.disptach for example) but mediators are registered once ivew is added to stage, so is there a way to block/pause the view and load datas then relaunch/unblock/unpause the view ?

Currently, I'm using the navigator to push my view so, ideally before pushing my view i would expect to load datas. But i don't know if it wouldn't be too much code in one command ...

Any comments, ideas are welcome :)

  1. 1 Posted by jimnastiq on 01 Aug, 2012 09:20 AM

    jimnastiq's Avatar

    I've finally decided to set a custom LoadDatacommand(with associated loaddatasignal) for each view then push the view once datas are loaded.

  2. Ondina D.F. closed this discussion on 14 Aug, 2012 05:51 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac