Comments (14)
although it wont work with androidX but with legacy dependency all you have to do is to use glide or any other similar library in onImageLoad() function.
from bsimagepicker.
I have updated to use AndroidX in 1.3.0. Please try again
from bsimagepicker.
Inside README file we can read this:
You also need to make sure you have included 'com.android.support:support-v4:{supportLibraryVersion} in your dependencies.
so I think that the library should still be updated to androidx.
from bsimagepicker.
Any updates on this one?
from bsimagepicker.
Planning to update in near future about AndroidX, but I am thinking whether I should use internal dependency instead since AndroidX is still in alpha.
from bsimagepicker.
Any update on this?
from bsimagepicker.
Android X artifact mappings. Guys, if you look here for com.android.support:support-v4, you'll find the mapping to androidx.legacy:legacy-support-v4. Hope it helps!
from bsimagepicker.
same problem. any update ?
from bsimagepicker.
@tirumala007 Are you using v1.3.0? Just want to verify that the problem has been solved in v1.3.0 or not.
from bsimagepicker.
I am seeing this issue AFTER updating from 1.1.0 to 1.3.2. Both have been using AndroidX
from bsimagepicker.
Hi!
I have same problem with this file provider:
<provider android:name="androidx.core.content.FileProvider" android:authorities="${applicationId}.fileprovider" android:exported="false" android:grantUriPermissions="true"> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" /> </provider>
And there is the file_path xml:
<?xml version="1.0" encoding="utf-8"?> <paths xmlns:android="http://schemas.android.com/apk/res/android"> <files-path name="my_images" path="images/" /> <cache-path name="my_cache_images" path="." /> </paths>
And I use this support version:
com.android.support:support-v4:28.0.0
Anyone can help me? Currently I have no idea.
Thank you
from bsimagepicker.
hello
i had the same problem and using androidx.
i could solve the problem by correct implementation of loadImage method of BSImagePicker.ImageLoaderDelegate (interface)
override fun loadImage(imageUri: Uri?, ivImage: ImageView?) {
if(ivImage != null)
Glide.with(this@MainActivity).load(imageUri).into(ivImage)
}
from bsimagepicker.
Hello
Yes, in the meantime, I realized that. It works well now.
Thank you very much!
from bsimagepicker.
you're welcome
from bsimagepicker.
Related Issues (20)
- [Question] Set default front/back camera HOT 4
- How to use in Xamarin.Android? HOT 1
- How to convert Android.Net.Uri to Stream? HOT 1
- Don't have BSImagePicker.ImageLoaderDelegate
- Images Rotates during selection HOT 5
- is it possible to show as it is selected if we reopen image picker? HOT 3
- Convert Selected Images to Base64 strings HOT 1
- ** Not working with Android X ** HOT 1
- Camera icon not showing HOT 2
- Glide does not show images on Android Q HOT 1
- File not Found HOT 1
- Can we change the layout to curved edges and selection tick to different image ? HOT 1
- Pick video? HOT 1
- bug on onRequestPermissionsResult in BSImagePicker HOT 4
- camera in multi image selection HOT 1
- Getting No Such File or Directory HOT 1
- Image Picker dialog does not close automatically after choosing image from gallery HOT 1
- Bottombar Done TextView set enable
- add camera and folder option in multi selection image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bsimagepicker.