File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to find component via code?

 
nimo frey
Ranch Hand
Posts: 580
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have something like this and want to find a component via code;



You see, it does not work. What is missing?

(I do not want to use binding-property)
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
findComponent() is a method of UIViewRoot.
 
nimo frey
Ranch Hand
Posts: 580
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh okay, now it works, thanks!

UIViewRoot view = context.getViewRoot();
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic