Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HBiSoft authored Apr 27, 2020
1 parent 7b307f5 commit 4f8269b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ public class MainActivity extends AppCompatActivity implements PickiTCallbacks {
setContentView(R.layout.activity_main);

//Initialize PickiT
pickiT = new PickiT(this, this);
//context, listener, activity
pickiT = new PickiT(this, this, this);

}
}
Expand Down Expand Up @@ -124,6 +125,16 @@ Callback methods
---

```java
//When selecting a file from Google Drive, for example, the Uri will be returned before the file is available(if it has not yet been cached/downloaded).
//We are unable to see the progress since Google Drive doesn't provide it to us
//Apps like Dropbox will display a dialog inside the picker
//This will only be called when selecting a drive file
@Override
public void PickiTonUriReturned() {
//Use to let user know that we are waiting for the application to return the file
//See the demo project to see how I used this.
}

//Called when the file creations starts (similar to onPreExecute)
//This will only be called if the selected file is not local or if the file is from an unknown file provider
@Override
Expand Down

0 comments on commit 4f8269b

Please sign in to comment.