Custom Glide module in Landscapist. #89
-
I'm using a CustomGlideModule in my project. Is there a way to setup my module in Landscapist? Because I'm receiving the following error at the moment of showing the preview. @GlideModule
} java.lang.IllegalStateException: You cannot call Glide.get() in registerComponents(), use the provided Glide instance instead |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, could you provide the like this: val requestBuilder = GlideApp.with(LocalContext.current)
CompositionLocalProvider(LocalGlideRequestBuilder provides requestBuilder) {
// .. //
} |
Beta Was this translation helpful? Give feedback.
-
See #173. You can create a custom |
Beta Was this translation helpful? Give feedback.
See #173.
You can create a custom
LocalGlideProvider
and utilizeGlideApp
ingetGlideRequestManager
.