August 2018
Intermediate to advanced
372 pages
9h 29m
English
The Android client also uses the provided banking-client module to interact with the server, but in this case, it's necessary to use the asynchronous method to make requests (this requirement comes from the nature of how Android works). We can also say that this is a fat client, by looking at the definition provided earlier.
Let's review the structure of this project in the following screenshot:

The Activity classes have the code to make the asynchronous requests, as follows:
SecurityApi api = BankClient.getRetrofit().create(SecurityApi.class);Call<String> call = api.login(new Credentials(username, ...
Read now
Unlock full access