react-native/docs
Dennis Sandmark 94cd9f5591 Update native-modules-android.md
Summary:
`import com.facebook.react.bridge.Callback;` is needed to be able to use `Callback` as a parameter.

<!--
Thank you for sending the PR! We appreciate you spending the time to work on these changes.

Help us understand your motivation by explaining why you decided to make this change.

You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html

Happy contributing!

-->

Thought it needed to be clearer that you need to import `Callback` as it's not a native Java type.

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)

<!--
Help reviewers and the release process by writing your own release notes

**INTERNAL and MINOR tagged notes will not be included in the next version's final release notes.**

  CATEGORY
[----------]        TYPE
[ CLI      ]   [-------------]      LOCATION
[ DOCS     ]   [ BREAKING    ]   [-------------]
[ GENERAL  ]   [ BUGFIX      ]   [-{Component}-]
[ INTERNAL ]   [ ENHANCEMENT ]   [ {File}      ]
[ IOS      ]   [ FEATURE     ]   [ {Directory} ]   |-----------|
[ ANDROID  ]   [ MINOR       ]   [ {Framework} ] - | {Message} |
[----------]   [-------------]   [-------------]   |-----------|

[CATEGORY] [TYPE] [LOCATION] - MESSAGE

 EXAMPLES:

 [IOS] [BREAKING] [FlatList] - Change a thing that breaks other things
 [ANDROID] [BUGFIX] [TextInput] - Did a thing to TextInput
 [CLI] [FEATURE] [local-cli/info/info.js] - CLI easier to do things with
 [DOCS] [BUGFIX] [GettingStarted.md] - Accidentally a thing/word
 [GENERAL] [ENHANCEMENT] [Yoga] - Added new yoga thing/position
 [INTERNAL] [FEATURE] [./scripts] - Added thing to script that nobody will see
-->
Closes https://github.com/facebook/react-native/pull/17015

Differential Revision: D6464454

Pulled By: hramos

fbshipit-source-id: dfb57f4176483c4e95539c5db03a86f01892e587
2017-12-01 15:46:23 -08:00
..
Accessibility.md New guide: Improving User Experience 2017-08-24 14:01:53 -07:00
Animations.md fix typo - missing 'new' keyword 2017-10-16 15:18:41 -07:00
Colors.md New Handling Touches Tutorial 2017-06-07 11:51:21 -07:00
Contributing.md Add footer links to bot comments, rename label to Good fist issue 2017-10-16 14:17:07 -07:00
Debugging.md Document adb shell input keyevent 82 2017-10-09 22:02:09 -07:00
Images.md Rename metro-bundler to metro 2017-11-29 03:35:29 -08:00
Maintainers.md Flag large pull requests, add large-pr command 2017-08-16 21:00:44 -07:00
MoviesExample.json Fix typo and add comments to the example app 2015-03-27 20:44:20 +00:00
Navigation.md Update Navigation.md 2017-07-24 11:31:01 -07:00
Performance.md Update Performance.md 2017-11-28 21:46:48 -08:00
Props.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
State.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
Style.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
Testing.md Remove references to Travis 2017-10-13 20:34:22 -07:00
Timers.md New guide: Improving User Experience 2017-08-24 14:01:53 -07:00
Troubleshooting.md Add Troubleshooting Guide to Sidebar. 2017-08-25 15:30:43 -07:00
Tutorial.md Revert faulty change to HelloWorld demo in docs 2017-09-19 15:46:14 -07:00
Upgrading.md Add Troubleshooting Guide to Sidebar. 2017-08-25 15:30:43 -07:00
accessibilityinfo.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
actionsheetios.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
activityindicator.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
alert.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
alertios.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
android-building-from-source.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
androiduiperformance.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
animated.md Add a sample to clarify animation callback 2017-11-21 11:02:57 -08:00
animatedvalue.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
animatedvaluexy.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
app-extensions.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
appregistry.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
appstate.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
asyncstorage.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
backandroid.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
backhandler.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
building-for-apple-tv.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
button.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
cameraroll.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
checkbox.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
clipboard.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
communication-android.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
communication-ios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
components-and-apis.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
custom-webview-android.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
custom-webview-ios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
datepickerandroid.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
datepickerios.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
dimensions.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
direct-manipulation.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
drawerlayoutandroid.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
easing.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
flatlist.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
flexbox.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
geolocation.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
gesture-responder-system.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
getting-started.md Remove empty lines to ensure JavaScript is loaded 2017-11-21 14:27:06 -08:00
handling-text-input.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
handling-touches.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
headless-js-android.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
height-and-width.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
image-style-props.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
image.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
imageeditor.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
imagepickerios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
imagestore.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
improvingux.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
integration-with-existing-apps.md Remove empty lines to ensure JavaScript is loaded 2017-11-21 14:27:06 -08:00
interactionmanager.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
javascript-environment.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
keyboard.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
keyboardavoidingview.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
layout-props.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
layoutanimation.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
linking-libraries-ios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
linking.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
listview.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
listviewdatasource.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
maskedviewios.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
modal.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
more-resources.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
native-components-android.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
native-components-ios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
native-modules-android.md Update native-modules-android.md 2017-12-01 15:46:23 -08:00
native-modules-ios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
nativemethodsmixing.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
navigatorios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
netinfo.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
network.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
panresponder.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
permissionsandroid.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
picker-item.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
picker-style-props.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
picker.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
pickerios.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
pixelratio.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
platform-specific-code.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
progressbarandroid.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
progressviewios.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
pushnotificationios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
refreshcontrol.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
running-on-device.md Remove empty lines to ensure JavaScript is loaded 2017-11-21 14:27:06 -08:00
running-on-simulator-ios.md Restore missing ejected banner 2017-11-09 11:10:50 -08:00
runningondeviceandroid.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
runningondeviceios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
scrollview.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
sectionlist.md Removed Duplicate data. 2017-11-19 09:57:06 -08:00
segmentedcontrolios.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
settings.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
shadow-props.md Fix Shadow Props 2017-11-21 10:18:29 -08:00
share.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
signed-apk-android.md Restore missing ejected banner 2017-11-09 11:10:50 -08:00
slider.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
snapshotviewios.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
statusbar.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
statusbarios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
stylesheet.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
switch.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
systrace.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
tabbarios-item.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
tabbarios.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
text-style-props.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
text.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
textinput.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
timepickerandroid.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
toastandroid.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
toolbarandroid.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
touchablehighlight.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
touchablenativefeedback.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
touchableopacity.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
touchablewithoutfeedback.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
transforms.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
understanding-cli.md Restore missing ejected banner 2017-11-09 11:10:50 -08:00
using-a-listview.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
using-a-scrollview.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
vibration.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
vibrationios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
view-props.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
view-style-props.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
view.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
viewpagerandroid.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
virtualizedlist.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
webview.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00