Android Open Source - res-check Info Image Item






From Project

Back to project page res-check.

License

The source code is released under:

Apache License

If you think the Android project res-check 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.harrikirik.rescheck.dto;
/*www  .j av a  2 s  . c  om*/
/**
 * Info item containing an image
 * Harri Kirik, harri35@gmail.com
 */
public class InfoImageItem extends InfoItem {
    private static final long serialVersionUID = 9074927018674588416L;
    private int drawableId;

    public InfoImageItem(final String key, final int drawableId, final InfoCategory category) {
        super(key, null, category);
        this.drawableId = drawableId;
    }

    public int getDrawableId() {
        return drawableId;
    }

    @Override
    public String toPrintableString() {
        return null;
    }

    @Override
    public String toString() {
        return super.toString() + " with key: " + getKey() + ", drawableId: " + getDrawableId();
    }
}




Java Source Code List

com.harrikirik.rescheck.Config.java
com.harrikirik.rescheck.activity.DetailActivity.java
com.harrikirik.rescheck.activity.MainActivity.java
com.harrikirik.rescheck.adapter.InfoAdapter.java
com.harrikirik.rescheck.dto.BaseInfoObject.java
com.harrikirik.rescheck.dto.CategorisedInfoItem.java
com.harrikirik.rescheck.dto.InfoCategory.java
com.harrikirik.rescheck.dto.InfoImageItem.java
com.harrikirik.rescheck.dto.InfoItem.java
com.harrikirik.rescheck.fragment.DetailFragment.java
com.harrikirik.rescheck.fragment.SpecFragment.java
com.harrikirik.rescheck.util.InfoUtil.java
com.harrikirik.rescheck.util.Log.java
com.harrikirik.rescheck.util.Util.java