Android Studio – Issue in forming desired output with Day, Hour & Minute in Kotlin – Android
I have below function which takes totalMinutes as an argument. fun minutesToDaysHoursMinutes(totalMinutes: Double): String? { var returnString = "" try { var minutes =0.0 if (totalMinutes > 6000) { val days = totalMinutes / 1440 val remainingMins = totalMinutes -…