This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Android and the fly likes Changing java file after layout change Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Changing java file after layout change" Watch "Changing java file after layout change" New topic

Changing java file after layout change

Kovacs Akos
Ranch Hand

Joined: Oct 13, 2013
Posts: 77

After layout change I can not use the new layout's functions. In logcat I see that he try to find the function in the old layout's java file. Why?
Steve Luke

Joined: Jan 28, 2003
Posts: 4181

It is not clear what you mean. Could you restate the problem in more detail:
- Include specifically what you did that did not work
- Include the message you get from LogCat
- Include example source code

The first thing to do would be to clean your project and rebuild it to make sure all classes are using the most up to date versions of things.

I agree. Here's the link:
subject: Changing java file after layout change
It's not a secret anymore!