Android Open Source - sqlite-provider Firework Saver

From Project

Back to project page sqlite-provider.


The source code is released under:

Apache License

If you think the Android project sqlite-provider listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.novoda.sqliteprovider.demo.loader;
/*www  .  j  ava  2 s  . c o  m*/
import android.content.Context;

import com.novoda.sqliteprovider.demo.domain.Firework;
import com.novoda.sqliteprovider.demo.persistance.FireworkWriter;

public class FireworkSaver extends AsyncTaskLoader<Firework> {

    private final FireworkWriter writer;
    private final Firework firework;
    public static final int LOADER_ID = 123;

    public FireworkSaver(Context context, FireworkWriter writer, Firework firework) {
        this.writer = writer;
        this.firework = firework;

    public Firework loadInBackground() {
        return firework;


Java Source Code List