Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

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

Open
GoutamMMT opened this issue Feb 1, 2024 · 0 comments

Comments

@GoutamMMT
Copy link

GoutamMMT commented Feb 1, 2024

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 which required ActivityResultLauncher registerForActivityResult(
    @nonnull ActivityResultContract<I, O> contract,
    @nonnull ActivityResultCallback 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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant