Comments (2)
You can resolve the conflict with Glide in your .NET MAUI project by removing the AppGlideModule from your Xamarin.Forms library and configuring Glide directly in your .NET MAUI project. This involves initializing Glide with the required options and registering any custom model loader factories in your MainActivity.cs (for Android) or AppDelegate.cs (for iOS) files. This approach avoids conflicts and allows you to customize Glide according to your needs.
from maui.
Thanks I didn't know you could register model loaders after initialization. For anyone else who bumps into this, in my main activity I did this:
var glide = Glide.Get(this);
glide.Registry.Append(Class.FromType(typeof(Java.Lang.String)), Class.FromType(typeof(InputStream)), new FontImageSourceLoaderFactory(this));
from maui.
Related Issues (20)
- [Android] Convert Modal Implementation over to using Dialog Fragment
- Cannot install maui-android workload on Ubuntu 24.04 in Docker HOT 3
- Maui App using R8 & MauiHybridWebView crashes whenever it is killed in background by Android and then restarted by OS HOT 4
- Buttons with corner radius still have rectangular input areas HOT 4
- String.ToUpper with Turkish CultureInfo doesn't work on Android HOT 2
- (1)NU1301 Error in MAUI Project: Unable to Retrieve Repository Signature Information for NuGet Source (2)MAUI App Crashes on Windows After Visual Studio 17.10.0 Update: Error Code 0x80070005 HOT 4
- [Android] Label.CharacterWrap wraps text too soon HOT 3
- Optimize allocations via ArrayPool/MemoryPool in Crc64HashAlgorithm.cs and other places
- GtkSerializer should use transcoding stream
- GtkSerializer should use transcoding stream
- Optimize allocations via ArrayPool/MemoryPool in Crc64HashAlgorithm.cs and other places
- Use stackalloc for multiple instances of arrays of constant size
- Expose TimeZoneChangedEvent in Maui.Essentials
- Incorporate a throwhelper into Maui.Essentials
- Button/ImageButton RippleEffect not working in some cases HOT 9
- Follow CA1825 Use Array<T>.Empty in all instances
- Employ .NET [Auto]Vectorization features HOT 1
- [Android] Border doesnt expand on Content size changed HOT 1
- ControlTemplate not propagating the BindingContext correctly if set through Binding HOT 1
- Rotate screen on ios <= 15
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 maui.