I have an ActionBarSherlock with one menu item in my bar. When I'm call
View item = findViewById(R.id.my_item);
in activity's button
all works fine as expected.
But when I try to do this in
or even in
it is always
. I also tryed do this in
after inflating my menu from resource, but without any succes.
Therefore I can't understand when actionbar items created and how to catch this moment?