I use libraries https://github.com/mikepenz/MaterialDrawer to create a navigation drawer with mini drawer.
I need to download icons from the network. It turned out to be done for the usual driver, using mikepenz material drawer can not load url for drawer item.
if I replace the line
ImageHolder.applyMultiIconTo(icon, iconColor, selectedIcon, selectedIconColor, isIconTinted, viewHolder.icon)
, on
ImageHolder.applyTo(icon, viewHolder.icon, "customUrlItem")
, then the icons are displayed.
But if I try to add a selectedIcon, and use
ImageHolder.applyMultiIconTo(icon, iconColor, selectedIcon, selectedIconColor, isIconTinted, viewHolder.icon)
, then the driver is only shown selectedIcon, and in the miniDrawer does not show the icons.
An example of how I did it: https://github.com/mikepenz/MaterialDrawer/commit/8deedf8470f19c74ed6b826fd5aadc4eaed506da
How to fix it?(