Skip to content

Commit 47d3ec6

Browse files
authored
Updated README.md
Added usage of some utilities.
1 parent c6bfbab commit 47d3ec6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class ProjectApplication extends Application
6464

6565
### SharedPreferenceData
6666

67-
```
67+
```java
6868
// use it in the activity or class you want to.
6969
SharedPreferenceData sharedPreferenceData = new SharedPreferenceData(context);
7070
sharedPreferenceData.setValue("keyname", "value for that keyname");
@@ -74,7 +74,7 @@ sharedPreferenceData.setValue("keyname", "value for that keyname");
7474

7575
>Before using this class first make sure to set up the apiPath into shared preference class. Shown above in **ProjectApplication** Section.
7676
77-
```
77+
```java
7878
// apiName - this will the part of the api url
7979
//
8080
// requestMethod - this will GET, POST OR PUT
@@ -104,7 +104,7 @@ apiServices.makeApiCall(apiName, requestMethod, parameters, jsonObject, hasToken
104104

105105
>Set the dbName in sharedPreferenceData with key name **'dbName'**. Shown above in **ProjectApplication** section.
106106
107-
```
107+
```java
108108
// parameters to be passed are as follows:
109109
//
110110
// tableName - table on which query should be performed.
@@ -146,7 +146,7 @@ apiServices.makeApiCall(apiName, requestMethod, parameters, jsonObject, hasToken
146146
DBHelper dbHelper = new DBHelper(context);
147147
dbHelper.executeDatabaseOperation(tableName, operation, values, hasConditions, conditionalValues);
148148
```
149-
```
149+
```java
150150
// for select query use this method
151151
//
152152
// parameters to be passed are as follows:
@@ -234,7 +234,7 @@ dbHelper.getRecordCount(tableName, values, hasConditions, conditionalValues);
234234
```
235235

236236
### AvatarImageView
237-
>**Use it the way you use ImageView in android**
237+
>**Use it the way you use ImageView in android. Attributes for this image view are as follows:**
238238
239239
**1. imgStrokeWidth**
240240

@@ -307,4 +307,4 @@ dbHelper.getRecordCount(tableName, values, hasConditions, conditionalValues);
307307
308308
```
309309
310-
```
310+
```

0 commit comments

Comments
 (0)