On Mon, Feb 7, 2011 at 8:27 PM, Richard Sámela <[email protected]> wrote:

> And how to change used View with one textView to the other View which
> contains ListView to show my added
> item.
>

ListView has an "empty" view you can provide that it will automagically use
when it is empty. Look at the documentation and samples to see how it works.


> when I have added item and I call method setContentView again to set new
> layout from Resource app force close.
>

When your app force closes, use your debugger to determine the problem. At
the very least post an exception stack trace here if you want to get help
with it.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to