We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c2e252 commit a0b4267Copy full SHA for a0b4267
README.md
@@ -37,23 +37,15 @@ Step 2. Add the dependency
37
}
38
39
## Usage (Just Kotlin)
40
-
41
- FilePicker.show(
42
- activity = this,
+ showFilePicker(
43
gridSpanCount = 3,
44
limitItemSelection = 5,
45
listDirection = ListDirection.RTL,
46
fileType = if (video) FileType.VIDEO else FileType.IMAGE,
47
titleTextColor = ContextCompat.getColor(this, R.color.black),
48
submitTextColor = ContextCompat.getColor(this, R.color.white),
49
accentColor = ContextCompat.getColor(this, R.color.purple_200),
50
- ) {
51
- // Do something here with selected files
52
- }
53
54
-**OR**
55
56
- showFilePicker {
+ ) {
57
// Do something here with selected files
58
59
0 commit comments