FilePicker icon indicating copy to clipboard operation
FilePicker copied to clipboard

public class "PickFile" not resolved for the version com.github.jaiselrahman:FilePicker:1.3.2

Open GoutamMMT opened this issue 1 year ago • 0 comments

Describe the bug implementation ("com.github.jaiselrahman:FilePicker:1.3.2") public class "PickFile" not resolved for the version Mentioned class "PickFile" not found

To Reproduce Steps to reproduce the behavior:

  1. implementation ("com.github.jaiselrahman:FilePicker:1.3.2")
  2. minSdk = 27 targetSdk = 34, Kotlin
  3. try to implement the ``` ActivityResultLauncher<Configurations> which required ActivityResultLauncher<I> registerForActivityResult( @NonNull ActivityResultContract<I, O> contract, @NonNull ActivityResultCallback<O> callback)
4.Where in place of ActivityResultContract try to put the line of code mentioned in sample app code.
`final ActivityResultLauncher<Configurations> pickImage = registerForActivityResult(new PickFile().throughDir(true), new ActivityResultCallback<List<MediaFile>>() {}`
Here PickFile class not found.

**Expected behavior**
Expecting classname PickFile under the package `com.jaiselrahman.filepicker.activity`

**Screenshots**
![Screenshot 2024-02-01 162949](https://github.com/jaiselrahman/FilePicker/assets/108860305/45b7ba1b-dee4-4e3d-be30-8852f4795c85)



**Android info (please complete the following information):**
 - Device/Emulator 
 - API level

**Additional context**
Add any other context about the problem here.

GoutamMMT avatar Feb 01 '24 10:02 GoutamMMT