colorList) {
+ mColors = colorList;
+ mRandom = new Random(System.currentTimeMillis());
+ }
+
+ public int getRandomColor() {
+ return mColors.get(mRandom.nextInt(mColors.size()));
+ }
+
+ public int getColor(Object key) {
+ return mColors.get(Math.abs(key.hashCode()) % mColors.size());
+ }
+}
diff --git a/app/src/main/java/com/fastaccess/helper/DatabaseHelper.java b/app/src/main/java/com/fastaccess/helper/DatabaseHelper.java
new file mode 100644
index 0000000..9d7f716
--- /dev/null
+++ b/app/src/main/java/com/fastaccess/helper/DatabaseHelper.java
@@ -0,0 +1,11 @@
+package com.fastaccess.helper;
+
+/**
+ * Created by Kosh on 09 Aug 2016, 10:25 PM
+ */
+
+public class DatabaseHelper {
+
+ private DatabaseHelper() {}
+
+}
diff --git a/app/src/main/java/com/fastaccess/helper/DateHelper.java b/app/src/main/java/com/fastaccess/helper/DateHelper.java
new file mode 100644
index 0000000..813b8e0
--- /dev/null
+++ b/app/src/main/java/com/fastaccess/helper/DateHelper.java
@@ -0,0 +1,293 @@
+package com.fastaccess.helper;
+
+import android.text.format.DateUtils;
+
+import java.text.SimpleDateFormat;
+import java.util.Calendar;
+import java.util.Date;
+import java.util.Locale;
+
+/**
+ * Created by kosh20111 on 10/7/2015. CopyRights @ Innov8tif
+ *
+ * Helper Class to deal with time and dates
+ */
+public class DateHelper {
+
+ public enum DateFormats {
+ D_YYMMDD("yy-MM-dd"), D_DDMMyy("dd-MM-yy"),
+ D_YYMMDD_N("yy-MMM-dd"), D_DDMMyy_N("dd-MMM-yy"),
+ D_YYMMDDHHMMA_N("yy-MMM-dd, hh:mma"), D_DDMMyyHHMMA_N("dd-MMM-yy, hh:mma"),
+ S_YYMMDD("yy/MM/dd"), S_DDMMyy("dd/MM/yy"),
+ S_YYMMDDHHMMA("yy/MM/dd, hh:mma"), S_DDMMyyHHMMA("dd/MM/yy, hh:mma"),
+ S_YYMMDDHHMMA_N("yy/MMM/dd, hh:mma"), S_DDMMyyHHMMA_N("dd/MMM/yy, hh:mma"),
+ D_YYYYMMDD("yyyy-MM-dd"), D_DDMMYYYY("dd-MM-yyyy"),
+ D_YYYYMMDDHHMMA("yyyy-MM-dd, hh:mma"), D_DDMMYYYYHHMMA("dd-MM-yyyy, hh:mma"),
+ D_YYYYMMDD_N("yyyy-MMM-dd"), D_DDMMYYYY_N("dd-MMM-yyyy"),
+ D_YYYYMMDDHHMMA_N("yyyy-MMM-dd, hh:mma"), D_DDMMYYYYHHMMA_N("dd-MMM-yyyy, hh:mma"),
+ S_YYYYMMDD("yyyy/MM/dd"), S_DDMMYYYY("dd/MM/yyyy"),
+ S_YYYYMMDDHHMMA("yyyy/MM/dd, hh:mma"), S_DDMMYYYYHHMMA("dd/MM/yyyy, hh:mma"),
+ S_YYYYMMDDHHMMA_N("yyyy/MMM/dd, hh:mma"), S_DDMMYYYYHHMMA_N("dd/MMM/yyyy, hh:mma"),
+ D_YYMMDDHHMMSSA_N("yy-MMM-dd, hh:mm:ssa"), D_DDMMyyHHMMSSA_N("dd-MMM-yy, hh:mm:ssa"),
+ S_YYMMDDHHMMSSA("yy/MM/dd, hh:mm:ssa"), S_DDMMyyHHMMSSA("dd/MM/yy, hh:mm:ssa"),
+ S_YYMMDDHHMMSSA_N("yy/MMM/dd, hh:mm:ssa"), S_DDMMyyHHMMSSA_N("dd/MMM/yy, hh:mm:ssa"),
+ D_YYYYMMDDHHMMSSA("yyyy-MM-dd, hh:mm:ssa"), D_DDMMYYYYHHMMSSA("dd-MM-yyyy, hh:mm:ssa"),
+ D_YYYYMMDDHHMMSSA_N("yyyy-MMM-dd, hh:mm:ssa"), D_DDMMYYYYHHMMSSA_N("dd-MMM-yyyy, hh:mm:ssa"),
+ S_YYYYMMDDHHMMSSA("yyyy/MM/dd, hh:mm:ssa"), S_DDMMYYYYHHMMSSA("dd/MM/yyyy, hh:mm:ssa"),
+ S_YYYYMMDDHHMMSSA_N("yyyy/MMM/dd, hh:mm:ssa"), S_DDMMYYYYHHMMSSA_N("dd/MMM/yyyy, hh:mm:ssa"),
+ YYMMDDHHMMSS("yyMMddhhmmss"), YYMMDDHHMMSS_24("yyMMddkkmmss"),
+ HHMMA("hh:mma"), HHMM("hh:mm"), HHMMSSA("hh:mm:ssa"), HHMMSS("hh:mm:ss"),
+ DD("dd"), MM("MM"), MM_N("MMM"), DDMM("dd MM"), DDMM_N("dd MMM"), DDMMYYYY("ddMMyyyy");
+ private String dateFormat;
+
+ DateFormats(String dateFormat) {this.dateFormat = dateFormat;}
+
+ public String getDateFormat() {
+ return dateFormat;
+ }
+ }
+
+ /**
+ * @return hh:mm a || dd MMM hh:mm a
+ */
+ public static String prettifyDate(long timestamp) {
+ SimpleDateFormat dateFormat;
+ if (DateUtils.isToday(timestamp)) {
+ dateFormat = new SimpleDateFormat("hh:mm a", Locale.getDefault());
+ } else {
+ dateFormat = new SimpleDateFormat("dd MMM hh:mm a", Locale.getDefault());
+ }
+ return dateFormat.format(timestamp);
+ }
+
+ /**
+ * @return hh:mm a || dd MMM hh:mm a
+ */
+ public static String prettifyDate(String timestamp, DateFormats dateFormats) {
+ SimpleDateFormat sample = new SimpleDateFormat(dateFormats.getDateFormat(), Locale.getDefault());
+
+ try {
+ long time = sample.parse(timestamp).getTime();
+ if (DateUtils.isToday(time)) {
+ sample = new SimpleDateFormat("hh:mm a", Locale.getDefault());
+ } else {
+ sample = new SimpleDateFormat("dd MMM hh:mm a", Locale.getDefault());
+ }
+ return sample.format(time);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return timestamp;
+ }
+
+ /**
+ * @return dd/MM/yyyy
+ */
+ public static long getDateOnly(String date) {
+ SimpleDateFormat sample = new SimpleDateFormat("dd/MM/yyyy", Locale.getDefault());
+ try {
+ return sample.parse(date).getTime();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return 0;
+ }
+
+ /**
+ * @return dd/MM/yyyy
+ */
+ public static String getDateOnly(long time) {
+ return new SimpleDateFormat("dd/MM/yyyy", Locale.getDefault()).format(time);
+ }
+
+ /**
+ * @return dd/MM/yyyy, hh:mm a
+ */
+ public static String getDateAndTime(long time) {
+ SimpleDateFormat sample = new SimpleDateFormat("dd/MM/yyyy, hh:mm a", Locale.getDefault());
+ return sample.format(new Date(time));
+ }
+
+ /**
+ * @return dd/MM/yyyy, hh:mm a
+ */
+ public static String getDateAndTime(String time) {
+ SimpleDateFormat sample = new SimpleDateFormat("dd/MM/yyyy, hh:mm a", Locale.getDefault());
+ return sample.format(time);
+ }
+
+ /**
+ * @return hh:mm a
+ */
+ public static String getTimeOnly(long time) {
+ SimpleDateFormat sample = new SimpleDateFormat("hh:mm a", Locale.getDefault());
+ return sample.format(time);
+ }
+
+ /**
+ * @return today's date in format (dd/MM/yyyy HH:mm:ss)
+ */
+ public static String getTodayWithTime() {
+ SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss", Locale.getDefault());
+ return dateFormat.format(new Date());
+ }
+
+ /**
+ * @return today's date in format (dd/MM/yyyy)
+ */
+ public static String getToday() {
+ SimpleDateFormat dateFormat = new SimpleDateFormat("dd-MM-yyyy", Locale.getDefault());
+ return dateFormat.format(new Date());
+ }
+
+ public static String getYesterday() {
+ try {
+ Calendar calendar = Calendar.getInstance();
+ calendar.setTime(new SimpleDateFormat("dd-MM-yyyy", Locale.getDefault()).parse(getToday()));
+ calendar.add(Calendar.DATE, -1);
+ Date tomorrow = calendar.getTime();
+ return new SimpleDateFormat("dd-MM-yyyy", Locale.getDefault()).format(tomorrow);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return null;
+ }
+
+ /**
+ * @return tomorrows's date in format (dd/MM/yyyy)
+ */
+ public static String getTomorrow() {
+ try {
+ Calendar calendar = Calendar.getInstance();
+ calendar.setTime(new SimpleDateFormat("dd-MM-yyyy", Locale.getDefault()).parse(getToday()));
+ calendar.add(Calendar.DATE, 1);
+ Date tomorrow = calendar.getTime();
+ return new SimpleDateFormat("dd-MM-yyyy", Locale.getDefault()).format(tomorrow);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return null;
+ }
+
+ /**
+ * new and old date must equal to {@link DateFormats}
+ *
+ * @return number of hours
+ */
+ public static long getDaysBetweenTwoDate(String old, String newDate, DateFormats dateFormats) {
+ SimpleDateFormat myFormat = new SimpleDateFormat(dateFormats.getDateFormat(), Locale.getDefault());
+ try {
+ Date date1 = myFormat.parse(old);
+ Date date2 = myFormat.parse(newDate);
+ long diff = date1.getTime() - date2.getTime();
+ long seconds = diff / 1000;
+ long minutes = seconds / 60;
+ long hours = minutes / 60;
+ return hours / 24;
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return 0;
+ }
+
+ /**
+ * new and old date must equal to {@link DateFormats}
+ *
+ * @return number of hours
+ */
+ public static long getHoursBetweenTwoDate(String old, String newDate, DateFormats dateFormats) {
+ SimpleDateFormat myFormat = new SimpleDateFormat(dateFormats.getDateFormat(), Locale.getDefault());
+ try {
+ Date date1 = myFormat.parse(old);
+ Date date2 = myFormat.parse(newDate);
+ long diff = date1.getTime() - date2.getTime();
+ long seconds = diff / 1000;
+ long minutes = seconds / 60;
+ long hours = minutes / 60;
+ long days = hours / 24;
+ return hours;
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return 0;
+ }
+
+ public static long getMinutesBetweenTwoDates(String old, String newDate, DateFormats dateFormats) {
+ SimpleDateFormat myFormat = new SimpleDateFormat(dateFormats.getDateFormat(), Locale.getDefault());
+ try {
+ Date date1 = myFormat.parse(old);
+ Date date2 = myFormat.parse(newDate);
+ long diff = date1.getTime() - date2.getTime();
+ long seconds = diff / 1000;
+ long minutes = seconds / 60;
+ long hours = minutes / 60;
+ long days = hours / 24;
+ return minutes;
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return 0;
+ }
+
+ public static long getMinutesBetweenTwoDates(long old, long newDate) {
+ long diff = old - newDate;
+ long seconds = diff / 1000;
+ long minutes = seconds / 60;
+ long hours = minutes / 60;
+ long days = hours / 24;
+ return minutes;
+ }
+
+ public static boolean isInFuture(long timestamp) {
+ Date date = new Date(timestamp);
+ return date.getTime() - new Date().getTime() >= 0;
+ }
+
+ /**
+ */
+ public static long parseAnyDate(String date) {
+ long time = 0;
+ for (DateFormats formats : DateFormats.values()) {
+ try {
+ SimpleDateFormat format = new SimpleDateFormat(formats.getDateFormat(), Locale.getDefault());
+ time = format.parse(date).getTime();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+ return time;
+ }
+
+ public static long parseDate(String date, DateFormats dateFormats) {
+ SimpleDateFormat format = new SimpleDateFormat(dateFormats.getDateFormat(), Locale.getDefault());
+ try {
+ return format.parse(date).getTime();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return 0;
+ }
+
+ public static String getDate(String date, DateFormats orginalFormat, DateFormats newFormat) {
+ SimpleDateFormat sample = new SimpleDateFormat(orginalFormat.getDateFormat(), Locale.getDefault());
+ try {
+ long time = sample.parse(date).getTime();
+ sample = new SimpleDateFormat(newFormat.getDateFormat(), Locale.getDefault());
+ return sample.format(time);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return date;
+ }
+
+ public static String getDesiredFormat(DateFormats formats) {
+ SimpleDateFormat format = new SimpleDateFormat(formats.getDateFormat(), Locale.getDefault());
+ return format.format(new Date());
+ }
+
+ public static String getDesiredFormat(DateFormats formats, long date) {
+ if (date == 0) return "";
+ SimpleDateFormat format = new SimpleDateFormat(formats.getDateFormat(), Locale.getDefault());
+ return format.format(date);
+ }
+}
diff --git a/app/src/main/java/com/fastaccess/helper/FileHelper.java b/app/src/main/java/com/fastaccess/helper/FileHelper.java
new file mode 100644
index 0000000..dba4363
--- /dev/null
+++ b/app/src/main/java/com/fastaccess/helper/FileHelper.java
@@ -0,0 +1,162 @@
+package com.fastaccess.helper;
+
+import android.content.Context;
+import android.os.Environment;
+import android.text.TextUtils;
+import android.webkit.MimeTypeMap;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Created by kosh20111 on 10/7/2015. CopyRights @ Innov8tif
+ */
+public class FileHelper {
+
+ private static String folderName;
+ private String TAG = this.getClass().getSimpleName();
+
+ public static void initFolderName(String fName) {
+ folderName = Environment.getExternalStorageDirectory() + "/" + fName;
+ }
+
+ public static File folderName() {
+ File file = new File(folderName);
+ if (!file.exists())
+ file.mkdir();
+ return file;
+ }
+
+ public static String getBaseFolderName() {
+ return folderName;
+ }
+
+ public static File getFile(String path) {
+ return new File(path);
+ }
+
+ private static String getPng(String path) {
+ return path + ".png";
+ }
+
+ public static boolean deleteFile(String path) {
+ if (!TextUtils.isEmpty(path)) {
+ File file = new File(path);
+ if (file.exists()) {
+ return file.delete();
+ } else {
+ file = new File(folderName(), path);
+ if (file.exists()) {
+ return file.delete();
+ }
+ }
+ }
+ return false;
+ }
+
+ public static void deleteFile(List paths) {
+ for (String path : paths) {
+ if (path != null) {
+ File file = new File(folderName(), path);
+ if (file.exists()) {
+ file.delete();
+ }
+ }
+ }
+ }
+
+ public static String generateFileName(String packageName) {
+ return getPng(packageName);
+ }
+
+ public static File generateFile(String path) {
+ File file = new File(folderName, ".nomedia");
+ if (!file.exists()) {
+ try {
+ file.createNewFile();
+ } catch (IOException e) {
+ e.printStackTrace();
+ file.mkdir();
+ }
+ }
+ return new File(folderName(), generateFileName(path));
+ }
+
+ private static void generateDefaultFile() {
+ File file = new File(folderName);
+ if (!file.exists()) {
+ file.mkdir();
+ }
+ }
+
+ public static File generateZipFile(String name) {
+ File file = new File(folderName, ".nomedia");
+ if (!file.exists()) {
+ try {
+ file.createNewFile();
+ } catch (IOException e) {
+ e.printStackTrace();
+ file.mkdir();
+ }
+ }
+ return new File(folderName(), name + ".zip");
+ }
+
+ public static File generateFolder(String name) {
+ File file = new File(folderName);
+ if (!file.exists()) {
+ file.mkdir();
+ }
+ File folderName = new File(file, name);
+ if (!folderName.exists()) {
+ folderName.mkdirs();
+ }
+ return folderName;
+ }
+
+ public static String getCacheFile(Context context, String packageName) {
+ return context.getCacheDir().getPath() + "/" + generateFileName(packageName);
+ }
+
+ public static boolean exists(String path) {
+ return getFile(path).exists();
+ }
+
+ public static List getFiles(File dir) {
+ List files = new ArrayList<>();
+ File listFile[] = dir.listFiles();
+ if (listFile != null && listFile.length > 0) {
+ for (File aListFile : listFile) {
+ if (aListFile.isDirectory()) {
+ getFiles(aListFile);
+ } else {
+ if (aListFile.getName().endsWith(".png") || aListFile.getName().endsWith(".jpg")
+ || aListFile.getName().endsWith(".jpeg") || aListFile.getName().endsWith(".gif")) {
+ files.add(aListFile);
+ }
+ }
+
+ }
+ }
+ return files;
+ }
+
+ public static String getInternalDirectoryPath() {
+ return Environment.getExternalStorageDirectory().getAbsolutePath();
+ }
+
+ public static String getSDcardDirectoryPath() {
+ return System.getenv("SECONDARY_STORAGE");
+ }
+
+ public static String getMimeType(String file) {
+ return MimeTypeMap.getFileExtensionFromUrl(file);
+ }
+
+ public static String extension(String file) {
+ return MimeTypeMap.getFileExtensionFromUrl(file);
+ }
+
+}
diff --git a/app/src/main/java/com/fastaccess/helper/GsonHelper.java b/app/src/main/java/com/fastaccess/helper/GsonHelper.java
new file mode 100644
index 0000000..5644fb5
--- /dev/null
+++ b/app/src/main/java/com/fastaccess/helper/GsonHelper.java
@@ -0,0 +1,31 @@
+package com.fastaccess.helper;
+
+import com.google.gson.Gson;
+import com.google.gson.GsonBuilder;
+
+import java.lang.reflect.Modifier;
+import java.util.Arrays;
+import java.util.List;
+
+/**
+ * Created by Kosh on 29 May 2016, 5:09 AM
+ */
+
+public class GsonHelper {
+
+ public static T getObject(String json, Class clazz) {
+ return gson().fromJson(json, clazz);
+ }
+
+ public static List getList(String json, Class clazz) {
+ return Arrays.asList(gson().fromJson(json, clazz));
+ }
+
+ public static Gson gson() {
+ return new GsonBuilder()
+ .excludeFieldsWithModifiers(Modifier.FINAL, Modifier.TRANSIENT, Modifier.STATIC)
+ .setPrettyPrinting()
+ .disableHtmlEscaping()
+ .create();
+ }
+}
diff --git a/app/src/main/java/com/fastaccess/helper/InputHelper.java b/app/src/main/java/com/fastaccess/helper/InputHelper.java
new file mode 100644
index 0000000..3b414fd
--- /dev/null
+++ b/app/src/main/java/com/fastaccess/helper/InputHelper.java
@@ -0,0 +1,87 @@
+package com.fastaccess.helper;
+
+import android.content.Context;
+import android.support.annotation.NonNull;
+import android.support.design.widget.TextInputLayout;
+import android.text.TextUtils;
+import android.text.format.Formatter;
+import android.widget.EditText;
+import android.widget.TextView;
+
+import java.text.DecimalFormat;
+import java.text.DecimalFormatSymbols;
+import java.text.NumberFormat;
+
+/**
+ * Created by kosh20111 on 3/11/2015. CopyRights @ Innov8tif
+ *
+ * Input Helper to validate stuff related to input fields.
+ */
+public class InputHelper {
+
+
+ private static boolean isWhiteSpaces(String s) {
+ return s != null && s.matches("\\s+");
+ }
+
+ public static boolean isEmpty(String text) {
+ return text == null || TextUtils.isEmpty(text) || isWhiteSpaces(text);
+ }
+
+ public static boolean isEmpty(Object text) {
+ return text == null || TextUtils.isEmpty(text.toString()) || isWhiteSpaces(text.toString());
+ }
+
+ public static boolean isEmpty(EditText text) {
+ return text == null || isEmpty(text.getText().toString());
+ }
+
+ public static boolean isEmpty(TextView text) {
+ return text == null || isEmpty(text.getText().toString());
+ }
+
+ public static boolean isEmpty(TextInputLayout txt) {
+ return txt == null || isEmpty(txt.getEditText());
+ }
+
+ public static String toNA(String value) {
+ return isEmpty(value) ? "N/A" : value;
+ }
+
+ public static String toString(EditText editText) {
+ return editText.getText().toString();
+ }
+
+ public static String toString(TextView editText) {
+ return editText.getText().toString();
+ }
+
+ public static String toString(TextInputLayout textInputLayout) {
+ return toString(textInputLayout.getEditText());
+ }
+
+ @NonNull public static String toString(@NonNull Object object) {
+ return !isEmpty(object) ? object.toString() : "";
+ }
+
+ public static String formatSize(Context context, long size) {
+ return Formatter.formatShortFileSize(context, size);
+ }
+
+ public static String formatPrice(double doubleValue) {
+ NumberFormat nf = NumberFormat.getCurrencyInstance();
+ DecimalFormatSymbols decimalFormatSymbols = ((DecimalFormat) nf).getDecimalFormatSymbols();
+ decimalFormatSymbols.setCurrencySymbol("");
+ ((DecimalFormat) nf).setDecimalFormatSymbols(decimalFormatSymbols);
+ return nf.format(doubleValue).trim();
+ }
+
+ public static String ordinal(int i) {
+ return i % 100 == 11 || i % 100 == 12 || i % 100 == 13 ? i + "th" : i +
+ new String[]{"th", "st", "nd", "rd", "th", "th", "th", "th", "th", "th"}[i % 10];
+ }
+
+ @NonNull public static String getTwoLetters(@NonNull String value) {
+ return value.length() > 1 ? (String.valueOf(value.charAt(0)) + String.valueOf(value.charAt(1))) : String.valueOf(value.charAt(0));
+ }
+}
diff --git a/app/src/main/java/com/fastaccess/helper/Logger.java b/app/src/main/java/com/fastaccess/helper/Logger.java
new file mode 100644
index 0000000..b53a7b1
--- /dev/null
+++ b/app/src/main/java/com/fastaccess/helper/Logger.java
@@ -0,0 +1,96 @@
+package com.fastaccess.helper;
+
+import android.support.annotation.NonNull;
+import android.support.annotation.Nullable;
+import android.util.Log;
+
+import java.util.Arrays;
+import java.util.List;
+
+import static com.fastaccess.helper.GsonHelper.gson;
+
+/**
+ * Created by Kosh on 04/12/15 11:52 PM. copyrights @ Innov8tif
+ */
+public class Logger {
+
+ private final static String TAG = "Logger";
+
+ private static void e(@NonNull String tag, @Nullable Object text) {
+ Log.e(tag, text != null ? text.toString() : "LOGGER IS NULL");//avoid null
+ }
+
+ private static void d(@NonNull String tag, @Nullable Object text) {
+ Log.d(tag, text != null ? text.toString() : "LOGGER IS NULL");//avoid null
+ }
+
+ private static void i(@NonNull String tag, @Nullable Object text) {
+ Log.i(tag, text != null ? text.toString() : "LOGGER IS NULL");//avoid null
+ }
+
+ public static void e(@Nullable Object text) {e(getCurrentClassName() + " || " + getCurrentMethodName(), text);}
+
+ public static void d(@Nullable Object text) {
+ d(getCurrentClassName() + " || " + getCurrentMethodName(), text);//avoid null
+ }
+
+ public static void i(@Nullable Object text) {
+ i(getCurrentClassName() + " || " + getCurrentMethodName(), text);//avoid null
+ }
+
+ public static void e(Object... objects) {
+ if (objects != null && objects.length > 0) {
+ e(getCurrentClassName() + " || " + getCurrentMethodName(), Arrays.toString(objects));
+ } else {
+ e(getCurrentClassName() + " || " + getCurrentMethodName(), getCurrentMethodName());
+ }
+ }
+
+ public static void e(List