Created
October 19, 2020 11:13
-
-
Save uziasferreirazup/35f9bfe8b38c60953d821623578f33a5 to your computer and use it in GitHub Desktop.
Beagle without annotation processor beagle config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import br.com.zup.beagle.android.setup.BeagleConfig | |
import br.com.zup.beagle.android.setup.Cache | |
import br.com.zup.beagle.android.setup.Environment | |
class MyBeagleConfig : BeagleConfig { | |
override val baseUrl: String = "10.0.0.2:8080" //Your endpoint | |
override val cache: Cache = Cache(enabled = false, maxAge = 0, size = 1) | |
override val environment: Environment = Environment.DEBUG | |
override val isLoggingEnabled: Boolean = true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment