polymer - How to implement lazy loading on pages with Dart -


i'm developing dart application implement lazy loading on libraries , pages.

for instance, have 3 pages/views: login, main_view , new_item. far know, of application's code being loaded @ same time if no lazy loading implemented.

what want load pages (or elements) used application @ time and, when other page/view called, "loading" message appears @ center of screen, pretty happens on google music (turning dice).

edit: i'm using bwu_polymer_routing routing.

you can use deferred loading of libraries http://news.dartlang.org/2014/08/dart-16-adds-support-for-deferred.html?m=1


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -