Android Open Source - android-shuite-smoking Image Button

From Project

Back to project page android-shuite-smoking.


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

 * 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