Skip to content

Commit

Permalink
suppressing 'avoid non-default constructors' error for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith Feldman committed Mar 30, 2017
1 parent 69f31ef commit 7fc6f59
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package im.shimo.react.prompt;


import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
Expand Down Expand Up @@ -52,6 +53,7 @@ public RNPromptFragment() {
mListener = null;
}

@SuppressLint("ValidFragment")
public RNPromptFragment(@Nullable RNPromptModule.PromptFragmentListener listener, Bundle arguments) {
mListener = listener;
setArguments(arguments);
Expand Down

0 comments on commit 7fc6f59

Please sign in to comment.