Back to project page Android_Yellow_Pages_App_TDD.
The source code is released under:
Apache License
If you think the Android project Android_Yellow_Pages_App_TDD 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.tddrampup.singletons; /* ww w . j a va2 s .c o m*/ import com.google.inject.Inject; import com.google.inject.Singleton; import com.tddrampup.models.Listing; import java.util.ArrayList; import java.util.List; /** * Created by WX009-PC on 2/19/14. */ @Singleton public class Listings implements ListingsInterface { private List<Listing> mListings; private String mWhatQuery; private String mWhereQuery; @Inject public Listings() { mListings = new ArrayList<Listing>(); } public List<Listing> getListings(){ return this.mListings; } public void setListings(List<Listing> value){ mListings = value; } public String getWhatQuery() { return this.mWhatQuery; } public void setWhatQuery(String whatQuery) { this.mWhatQuery = whatQuery; } public String getWhereQuery() { return mWhereQuery; } public void setWhereQuery(String whereQuery) { this.mWhereQuery = whereQuery; } // public Listing getListing(){ // return this.mListing; // } // // public void setListing(Listing value){ // mListing = value; // } }