Christoph Jerolimov cb874a55aa Add MapView annotation callback when it gets / lost the focus
Summary:
For my project it was required to receive a notification when the MapView annotation was deselected.

So I renamed `onAnnotationPress` to `onAnnotationSelected` and added a new method `onAnnotationDeselected`, this names was "inspired" by the underlaying iOS API. The old API was still called and marked as deprecated.

But maybe you have an idea for a better naming (onAnnotationFocus/-Blur?) -- or should a deselected call the press method again without an annotation (undefined)?
Closes https://github.com/facebook/react-native/pull/5167

Reviewed By: svcscm

Differential Revision: D2869695

Pulled By: nicklockwood

fb-gh-sync-id: 91795ac3f1e4533b250af8901534d8870729d9db
2016-01-29 06:26:30 -08:00
..
2015-07-24 08:41:58 -08:00
2016-01-06 10:33:29 -08:00
2016-01-21 11:47:21 -08:00
2016-01-08 15:42:32 -08:00
2016-01-12 03:11:31 -08:00
2016-01-26 14:34:31 -08:00
2015-12-23 10:08:38 -08:00
2016-01-29 03:59:54 -08:00
2015-12-18 17:04:29 -08:00
2015-12-03 09:10:29 -08:00
2015-07-24 08:41:58 -08:00