johannilsson / android-actionbar

DEPRECATED Android Action Bar Implementation
1.31k stars 564 forks source link

Action bar returns view object in addAction() #24

Closed tomquist closed 13 years ago

tomquist commented 13 years ago

I needed this to start an animation for a refresh-action which had an Animatable as a drawable. The animation had to be started from the menu so I had no reference to the View-object of the action. It won't break anything since the previous return type was void.

johannilsson commented 13 years ago

Hi, thank you. This looks good, will merge it later on this week.

johannilsson commented 13 years ago

Hi, this is fixed in the branch mimic-native-api by using the method newAction to create actions before they are added to the action bar.