Android Open Source - Chopping App List Item






From Project

Back to project page Chopping.

License

The source code is released under:

Apache License

If you think the Android project Chopping 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.chopping.data;
/* www  . j ava  2s .  com*/
import com.chopping.application.IApp;
import com.google.gson.annotations.SerializedName;

public final class AppListItem implements IApp {
  @SerializedName("name")
  private String mName;
  @SerializedName("free")
  private boolean mFree;
  @SerializedName("packageName")
  private String mPackageName;
  @SerializedName("logo_url")
  private String mLogoUrl;
  @SerializedName("playstore_url")
  private String mPlaystoreUrl;

  public AppListItem(String _name, boolean _free, String _packageName, String _logoUrl, String _playstoreUrl) {
    mName = _name;
    mFree = _free;
    mPackageName = _packageName;
    mLogoUrl = _logoUrl;
    mPlaystoreUrl = _playstoreUrl;
  }

  public String getName() {
    return mName;
  }

  public boolean getFree() {
    return mFree;
  }

  public String getPackageName() {
    return mPackageName;
  }

  /**
   * Location of the application to download.
   *
   * @return The url in string for the application.
   */
  @Override
  public String getStoreUrl() {
    return getPlaystoreUrl();
  }

  public String getLogoUrl() {
    return mLogoUrl;
  }

  public String getPlaystoreUrl() {
    return mPlaystoreUrl;
  }
}




Java Source Code List

com.android.internal.telephony.ITelephony.java
com.chopping.ApplicationTest.java
com.chopping.activities.BaseActivity.java
com.chopping.activities.BrightnessRefreshActivity.java
com.chopping.activities.ErrorHandlerActivity.java
com.chopping.application.BasicPrefs.java
com.chopping.application.ErrorHandler.java
com.chopping.application.IApp.java
com.chopping.application.InstalledAppReceiver.java
com.chopping.application.LL.java
com.chopping.bus.AirplaneModeOnEvent.java
com.chopping.bus.ApplicationConfigurationDownloadedEvent.java
com.chopping.bus.ApplicationConfigurationLoadingIgnoredEvent.java
com.chopping.bus.CloseDrawerEvent.java
com.chopping.bus.ExternalAppChangedEvent.java
com.chopping.bus.LinkToExternalAppEvent.java
com.chopping.bus.ReloadEvent.java
com.chopping.data.AppListItem.java
com.chopping.data.AppList.java
com.chopping.exceptions.CanNotOpenOrFindAppPropertiesException.java
com.chopping.exceptions.InvalidAppPropertiesException.java
com.chopping.exceptions.OperationFailException.java
com.chopping.fragments.AppListFragment.java
com.chopping.fragments.BaseFragment.java
com.chopping.fragments.ErrorHandlerFragment.java
com.chopping.net.GsonRequestTask.java
com.chopping.net.TaskHelper.java
com.chopping.utils.Consts.java
com.chopping.utils.DeviceUtils.java
com.chopping.utils.IncomingCallReceiver.java
com.chopping.utils.MediaUtils.java
com.chopping.utils.NetworkUtils.java
com.chopping.utils.Utils.java
com.chopping.utils.views.OneDirectionScrollView.java