Android Open Source - Gui2Go Widget Wrapper

From Project

Back to project page Gui2Go.


The source code is released under:

MIT License

If you think the Android project Gui2Go 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.ami.gui2go.models;
/*from ww  w .jav  a 2  s . c  o m*/
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.ami.gui2go.R;

public class WidgetWrapper {
    private TextView tag = null;
    private ImageView icon = null;
    private View row = null;

    public WidgetWrapper(View row) {
        this.row = row;

    TextView getName() {
        if (tag == null) {
            tag = (TextView) row.findViewById(;
        return (tag);

    ImageView getFlag() {
        if (icon == null) {
            icon = (ImageView) row.findViewById(;
        return (icon);

    public void populateFrom(Widget item) {



Java Source Code List