Back to project page blink.
The source code is released under:
Apache License
If you think the Android project blink 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 com.nashlincoln.blink.content; /*w w w . j a v a 2s. c om*/ import android.content.Context; import com.nashlincoln.blink.app.BlinkApp; import com.nashlincoln.blink.model.Scene; import java.util.List; /** * Created by nash on 10/19/14. */ public class SceneLoader extends ModelLoader<List<Scene>> { public SceneLoader(Context context) { super(context); } @Override public List<Scene> fetch() { return BlinkApp.getDaoSession().getSceneDao().loadAll(); } @Override public String getKey() { return Scene.KEY; } }