- In Java class, I usually declare all my constants in a single constant file and access across the project
- How to achieve the same in kotlin
Java Code:
public class LinksAndKeys {
public static String BASE_URL = "http://11.111.111.11:8000/";
public static double TAXABLE_AMOUNT = 0.18;
public static int DAYS_INTERVAL_FOR_RATE_ME_DIALOG = 50000;
}