src/main/java/nitezh/ministock/DialogTools.java
Method alertWithCallback
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void alertWithCallback(
Context context,
String title,
String body,
String positiveButtonText,
Method inputWithCallback
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void inputWithCallback(Context context, String title, String body,
String positiveButtonText, String negativeButtonText,
String defaultInputText,
final InputAlertCallable callable) {
// Create dialog
Method choiceWithCallback
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void choiceWithCallback(
Context context,
String title,
String negativeButtonText,
final CharSequence[] choices,
Method inputWithCallback
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static void inputWithCallback(Context context, String title, String body,
String positiveButtonText, String negativeButtonText,
String defaultInputText,
final InputAlertCallable callable) {
Method alertWithCallback
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Context context,
String title,
String body,
String positiveButtonText,
String negativeButtonText,
Method choiceWithCallback
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Context context,
String title,
String negativeButtonText,
final CharSequence[] choices,
final InputAlertCallable callable