On Wed, Sep 28, 2011 at 2:14 PM, John Goche <johngoch...@googlemail.com>wrote:

> Here is my issue, maybe someone can help, if I give two calls of the
> following type:
>
> evView1 = (EditView )findViewById( R.id.evView);
> evView2 = (EditView )findViewById( R.id.evView);
>
> do evView1 and evView2 point to the same object or are they separate
> instances?
>

Same - you're just getting the existing child of the View on which you call
findViewById().

-------------------------------------------------------------------------------------------------
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to