• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get the value of textview inside tablerow in android

 
sam liya
Ranch Hand
Posts: 1246
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Below is my xml page.



I need to get the value of TextView13 TextView.I tried with below.But it doesn't work.

 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sam liyanage wrote:But it doesn't work.

'Doesn't work' isn't very helpful. What does it do wrong?


And what does this mean?


If you know the answer to that, it might help you find the problem (assuming the problem is what I think it is... big assumption since you didn't tell us the problem). Of course, since you know the id of the view you want, you could find the view by its id. Look through the Activity API to see how.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!