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