ricardoalcocer / actionbarextras

Titanium Android Native Module that exposes ActionBar features not exposed by the Titanium SDK
MIT License
148 stars 61 forks source link

NullPointerException Catch & more icon drawables #86

Closed Brian-McBride closed 9 years ago

Brian-McBride commented 9 years ago

Fixes conditions where null pointer exception can cause the app to crash if the activity returns null (happens when app is closing but a call to a method like setTitle is still in progress).

Extends handleSetHomeAsUpIcon support icon fonts as well as strings.

Wrapps a helper method for generating icon drawable for DRY.

Brian-McBride commented 9 years ago

Deny the last PR. I simplified this branch.

manumaticx commented 9 years ago

Thank you! :blush: