R.xx.xx ids are actually integet constants. They're not strings. So
you can't use + to construct such ids.

On Oct 24, 1:48 pm, David <[email protected]> wrote:
> @Farpoc
>
> Your solution worked perfectly.  Thank you very much.  I have about
> 300 possible strings the user can choose.  Is there a less CPU
> intensive way to do this without 300 else if statements?
>
> If not, hey, the application works well enough.  But it would be
> cleaner code if it were possible to use R.string.h + whatever the user
> entered on prior screen.  Is this possible?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to