Back to project page RoboBinding-album-sample.
The source code is released under:
Apache License
If you think the Android project RoboBinding-album-sample listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.robobinding.albumsample.activity; //from w w w . ja v a 2 s . c om import org.robobinding.albumsample.store.AlbumStore; import org.robobinding.albumsample.store.MemoryAlbumStore; import org.robobinding.binder.BinderFactory; import org.robobinding.binder.BinderFactoryBuilder; import android.app.Application; /** * * @since 1.0 * @version $Revision: 1.0 $ * @author Cheng Wei */ public class AlbumApp extends Application { private BinderFactory reusableBinderFactory; private AlbumStore albumStore; @Override public void onCreate() { super.onCreate(); reusableBinderFactory = new BinderFactoryBuilder().build(); albumStore = new MemoryAlbumStore(); TestData testData = new TestData(); testData.setUp(albumStore); } public BinderFactory getReusableBinderFactory() { return reusableBinderFactory; } public AlbumStore getAlbumStore() { return albumStore; } }