PageRenderTime 41ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/templates/rx-architecture/app/src/main/java/com/futurice/project/network/ApiConstants.java

https://gitlab.com/intruxxer/android-best-practices
Java | 12 lines | 9 code | 2 blank | 1 comment | 0 complexity | c7005673443086d6aa4792fc5cd95797 MD5 | raw file
Possible License(s): CC-BY-4.0
  1. package com.futurice.project.network;
  2. class ApiConstants {
  3. // Just examples. Replace however you need!
  4. public static final String BASE_URL = "http://api.duckduckgo.com";
  5. public static final int HTTP_CONNECT_TIMEOUT = 6000; // milliseconds
  6. public static final int HTTP_READ_TIMEOUT = 10000; // milliseconds
  7. public static String RESPONSE_VALUE_SUCCESS = "success";
  8. public static String PARAM_VALUE_OFF = "0";
  9. public static String PARAM_VALUE_ON = "1";
  10. }