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; /*from w w w. j av a2 s .com*/ import android.content.Context; import com.nashlincoln.blink.app.BlinkApp; import com.nashlincoln.blink.model.Device; import java.util.List; /** * Created by nash on 10/19/14. */ public class DeviceLoader extends ModelLoader<List<Device>> { public DeviceLoader(Context context) { super(context); } @Override public List<Device> fetch() { return BlinkApp.getDaoSession().getDeviceDao().loadAll(); } @Override public String getKey() { return Device.KEY; } }