Re: [android-developers] assign drawable to variable not imageview

I found that out. I need to use this for an if else. What value do I need to put on the other side of the ==?

Thanks

On Sun, Apr 3, 2011 at 1:19 AM, Mark Murphy <mmurphy@commonsware.com> wrote:
On Sat, Apr 2, 2011 at 3:40 PM, Raghav Sood <raghavsood@gmail.com> wrote:
> Got the assigning working. Does this method return a value like
> R.drawable.imagename or some other thing.

No, R.drawable.imagename is an integer.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version
1.9.2 Available!

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



--
Raghav Sood
http://www.raghavsood.com/
http://www.androidappcheck.com/

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