INNER CODE UNIT · Java
getName
react-native-dialogs/react-native-dialogs · android/src/main/java/com/aakashns/reactnativedialogs/modules/DialogAndroid.java:37
public String getName() {
return NAME;
}
public DialogAndroid(ReactApplicationContext reactContext) {
super(reactContext);
}
/* Apply the options to the provided builder */
private MaterialDialog.Builder applyOptions(MaterialDialog.Builder builder, ReadableMap options) throws InvocationTargetException, IllegalAccessException, NoSuchMethodException {
ReadableMapKeySetIterator iterator = options.keySetIterator();
while(iterator.hasNextKey()) {
String key = iterator.nextKey();
switch (key) {
case "title":
builder.title(options.getString("title"));
break;