Android Open Source - Qachee Character






From Project

Back to project page Qachee.

License

The source code is released under:

Apache License

If you think the Android project Qachee 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.qachee.sample.domain;
/*ww  w .  ja  v  a 2s  .co m*/
import android.util.Log;

import com.qachee.QacheeableObject;

/**
 * Created by nicolas on 2/17/14.
 */
public class Character extends QacheeableObject {

  private String name;
  private String description;
  private int imageResId;

  public Character() {
    super();
  }

  public Character(String name, String description, int imageResId) {
    this.name = name;
    this.description = description;
    this.imageResId = imageResId;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public int getImageResId() {
    return imageResId;
  }

  public void setImageResId(int imageResId) {
    this.imageResId = imageResId;
  }

  @Override
  public String getKey() {
    Log.i("HASHCHODE", "KEY VALUE FOR " + getName() + "= " + getClass().getSimpleName() + hashCode());
    return getClass().getSimpleName() + hashCode();
  }

}




Java Source Code List

com.qachee.ExpirationTime.java
com.qachee.QacheeManager.java
com.qachee.QacheeableObject.java
com.qachee.Qacheeable.java
com.qachee.sample.DemoLoader.java
com.qachee.sample.MainActivity.java
com.qachee.sample.adapter.CharacterAdapter.java
com.qachee.sample.domain.Character.java
com.qachee.sample.fragment.CharacterEditFragment.java
com.qachee.sample.fragment.CharacterListFragment.java
com.qachee.sample.task.SafeAsyncTask.java
com.qachee.sample.view.CharacterItemView.java