@@ -10,7 +10,7 @@ flexability.
1010
1111## Including in your project
1212
13- The preferred Build System is [ Gradle] ( https://gradle.org/ ) .<br >
13+ The preferred build system is [ Gradle] ( https://gradle.org/ ) .<br >
1414Add this to your project wide build.gradle:
1515
1616``` groovy
@@ -39,7 +39,7 @@ The most simple initialization looks like this:
3939ProxerApi api = new ProxerConnection .Builder (" yourApiKey" ). build();
4040```
4141
42- You can customize the app in the following ways:
42+ You can customize the ` ProxerApi ` in the following ways:
4343
4444| Method | Description |
4545| -- | -- |
@@ -96,7 +96,7 @@ call.cancel();
9696
9797### Error handling
9898
99- All errors are encapsulated in an ` ProxerException ` . It offers the following
99+ All errors are encapsulated in a ` ProxerException ` . It offers the following
100100info about the error:
101101
102102| Method | Description |
@@ -152,8 +152,8 @@ api.notifications().news()
152152If you just want to present the error to the user, it can be done like so:
153153
154154``` java
155- void handleError(ProxerException error){
156- switch (error. getErrorType()){
155+ void handleError(ProxerException error) {
156+ switch (error. getErrorType()) {
157157 case SERVER :
158158 print(error. getMessage());
159159
@@ -181,8 +181,8 @@ void handleError(ProxerException error){
181181### Login
182182
183183The ` ProxerApi ` offers a mechanism for automatic login.<br >
184- If you call the ` user.login ` API, the relevant information are stored
185- automatically. If you then call ` user.logout ` , they are also removed
184+ If you call the ` user.login ` API, the relevant information is stored
185+ automatically. If you then call ` user.logout ` , is is also removed
186186automatically.
187187
188188You can customize this behaviour through a custom ` LoginTokenManager ` .<br >
0 commit comments