Hi All,

I want to know, Is there any way to assign string value as ID for the
component programatically. I am doing something like this:

TextView textView = new TextView(this) ;
textView.setText("hellooooo") ;
textView.setId(10) ;


But need some method which assigns my string value as ID...

Like
textView.setId( someMethod("textViewId") ) ;


Please Reply...

-- 
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