Back to project page vocabulary-list.
The source code is released under:
Apache License
If you think the Android project vocabulary-list 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.rulych.vocabularylist.model.persistence; // w w w. j a v a 2s . co m import com.google.android.gms.common.api.GoogleApiClient; import com.rulych.vocabularylist.model.Card; import java.util.List; import rx.Observable; public interface CardDAO { public void start(GoogleApiClient apiClient); public Observable<Card> find(String entry); public Observable<List<Card>> all(); public void save(Card card); public void delete(Card card); public static class NewCardSavedEvent { public Card card; public NewCardSavedEvent(Card card) { this.card = card; } } public static class CardModifiedEvent { public Card card; public CardModifiedEvent(Card card) { this.card = card; } } public static class CardDeletedEvent { public Card card; public CardDeletedEvent(Card card) { this.card = card; } } }