File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Disclaimer ⚠: This API is private. Means that instagram has not documented or
31
31
In your app build.gradle
32
32
``` groovy
33
33
dependencies {
34
- implementation 'com.github.ErrorxCode:EasyInsta:v2.0 '
34
+ implementation 'com.github.ErrorxCode:EasyInsta:2.1 '
35
35
}
36
36
```
37
37
@@ -171,6 +171,17 @@ instagram.getProfilePicUrl("username").addOnSuccessListener(new Task.OnSuccessLi
171
171
}
172
172
});
173
173
```
174
+
175
+ ### Serialization & Deserialization.
176
+ You can also save ` Instagram ` object instance so you don't have to login each time program runs. (Serialization)
177
+ ```
178
+ Instagram instagram = new Instagram("username","password");
179
+ instagram.saveInstance(getCacheDir()); // Pass the cache direcoty of your app.
180
+ ```
181
+ and then use that saved object everytime. (Deserialization)
182
+ ```
183
+ Instagram instagram = Instagram.loadInstance(getCacheDir());
184
+ ```
174
185
## Documentation
175
186
176
187
[ Java docs] ( https://errorxcode.github.io/docs/easyinsta/index.html )
You can’t perform that action at this time.
0 commit comments