Created
October 28, 2020 07:02
-
-
Save Ikhiloya/01a6ce14afc997b7c121a7189b350af2 to your computer and use it in GitHub Desktop.
A simple web service call annotated with a custom annotation to ensure that the request is retrieved cached
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
@Cacheable | |
@GET(Constant.PAYMENT_TYPES) | |
fun getPaymentTypes(): Call<MutableList<PaymentType>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment