Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address multiple elements inside container? #10

Open
sirvon opened this issue Dec 19, 2014 · 1 comment
Open

Address multiple elements inside container? #10

sirvon opened this issue Dec 19, 2014 · 1 comment

Comments

@sirvon
Copy link

sirvon commented Dec 19, 2014

what if I have mutiple elements inside the multistateview?

how do you address them each?

TextView = (TextView) container.getContentView();

What if there is another textview inside the container
since ids arent being, i'm lost on how to address multiple elements?

@keithics
Copy link

keithics commented Mar 8, 2015

instead of using list view , use LinearLayout instead and add multiple items inside it.

<com.meetme.android.multistateview.MultiStateView
                android:id="@+id/list_container"
                android:layout_width="match_parent"
                android:layout_height="match_parent">
<LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
                <ListView
android:id="@+id/list_main"
                    android:layout_width="fill_parent"
                    android:layout_height="match_parent" />
</LinearLayout>
            </com.meetme.android.multistateview.MultiStateView>```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants