Android Open Source - android-shuite-smoking Image Button






From Project

Back to project page android-shuite-smoking.

License

The source code is released under:

GNU General Public License

If you think the Android project android-shuite-smoking 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 udl.eps.smokerscontrol;
//from  w w  w .  ja  v a2  s .co  m
import android.support.v4.app.Fragment;

/**
 * Created by Marc on 13/12/2014.
 */
public class ImageButton {

    private int image;
    private String buttonName;
    private Fragment fragment;

    public ImageButton(int image, String buttonName, Fragment fragment) {
        this.image = image;
        this.buttonName = buttonName;
        this.fragment = fragment;
    }

    public int getImage() {
        return this.image;
    }

    public String getButtonName() {
        return this.buttonName;
    }

    public Fragment getFragment() {
        return this.fragment;
    }
}




Java Source Code List

udl.eps.smokerscontrol.ApplicationTest.java
udl.eps.smokerscontrol.BaseActivity.java
udl.eps.smokerscontrol.CommunityFragment.java
udl.eps.smokerscontrol.ImageButtonAdapter.java
udl.eps.smokerscontrol.ImageButton.java
udl.eps.smokerscontrol.MainActivity.java
udl.eps.smokerscontrol.MenuFragment.java
udl.eps.smokerscontrol.StatsFragment.java