This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<View> | |
<MyNativeView ref={this.myNativeView} /> | |
<ButtonContainer> | |
<Button | |
title="Previous" | |
onPress={() => { | |
this.myNativeView.current.goToPreviousPage(); | |
}} | |
/> | |
<Button |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<View> | |
<MyNativeView /> | |
<ButtonContainer> | |
<Button title="Previous" /> | |
<Button title="Next" /> | |
</ButtonContainer> | |
<MyNativeView /> | |
<ButtonContainer> | |
<Button title="Previous" /> | |
<Button title="Next" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this func show CNContactViewController for new contact and fill it using CNMutableContact | |
// Remember about permissions | |
func createContcat() { | |
if #available(iOS 9.0, *) { | |
let contact = CNMutableContact() | |
contact.givenName = "Jack" | |
contact.familyName = "Sparrow" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Blinking Animation of Multiply Drawables in ActionBar Toolbar on Android | |
//You can use AnimationDrawable, if you don't want to custom blinking animation | |
private void initAnimationOfCustomPins() { | |
ActionBar actionBar = getActionBar(); | |
if (actionBar == null || !Constant.USE_ANIMATION_OF_CUSTOM_PINS) { | |
return; | |
} |
NewerOlder