Android Open Source - Android_Yellow_Pages_App_TDD Listings






From Project

Back to project page Android_Yellow_Pages_App_TDD.

License

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.

Java Source Code

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;
//    }
}




Java Source Code List

android.UnusedStub.java
com.tddrampup.ApplicationModule.java
com.tddrampup.YellowApplication.java
com.tddrampup.activities.MainActivity.java
com.tddrampup.adapters.ListingAdapter.java
com.tddrampup.factories.CameraUpdateFactoryWrapperInterface.java
com.tddrampup.factories.CameraUpdateFactoryWrapper.java
com.tddrampup.factories.MarkerOptionsFactoryWrapperInterface.java
com.tddrampup.factories.MarkerOptionsFactoryWrapper.java
com.tddrampup.fragments.DetailFragment.java
com.tddrampup.fragments.GoogleMapFragment.java
com.tddrampup.fragments.HomeFragment.java
com.tddrampup.fragments.ListFragment.java
com.tddrampup.models.Address.java
com.tddrampup.models.GeoCode.java
com.tddrampup.models.Keywords.java
com.tddrampup.models.Listing.java
com.tddrampup.models.Phone.java
com.tddrampup.models.Products.java
com.tddrampup.models.Profile.java
com.tddrampup.models.Summary.java
com.tddrampup.models.YellowResponse.java
com.tddrampup.serviceLayers.VolleyServiceLayerCallback.java
com.tddrampup.serviceLayers.VolleyServiceLayer.java
com.tddrampup.singletons.ListingsInterface.java
com.tddrampup.singletons.Listings.java
com.tddrampup.views.MapView.java