//tvlib/org.mjdev.tvlib.glide.sources.layout
| Name | Summary |
|---|---|
| LayoutInflaterDrawable | [androidJvm] class LayoutInflaterDrawable(val context: Context, @LayoutResval resId: Int) : Drawable Custom drawable that inflate view to itself Used for loading image error customized replacement |
| LayoutLoaderFactory | [androidJvm] class LayoutLoaderFactory(val context: Context) : ModelLoaderFactory<LayoutResId?, Drawable?> Inflate view to a drawable thru glide library. Useful for custom drawables. Usage: GlideApp.with(context).load(LayoutResId(R.layout.layout_file)).into(target) |
| LayoutResId | [androidJvm] class LayoutResId(@LayoutResval resId: Int = View.NO_ID) Inflate view to a drawable thru glide library. Useful for custom drawables. Usage: GlideApp.with(context).load(LayoutResId(R.layout.layout_file)).into(target) |