nambicompany / expandable-fab

A highly customizable 'speed dial' FloatingActionButton implementation.
https://nambicompany.github.io/expandable-fab/
MIT License
200 stars 21 forks source link

Load icon using url #39

Closed MohamedAbdelrazek closed 3 years ago

MohamedAbdelrazek commented 3 years ago

How to load icon using url instead of res id

kabumere commented 3 years ago

Hey @MohamedAbdelrazek,

The library does not include any functionality to make network requests, as that's outside the scope of what it aims to accomplish.

There are plenty of well-tested image downloading and caching libraries out there for you to use however, like Picasso and Glide.

You could also simply download the image yourself then set the icon using APIs like HttpUrlConnection or a networking library like OkHttp.

kabumere commented 3 years ago

Im assuming you've already found a different way of downloading your preferred icon over the network, so I am closing this ticket. Feel free to open a new ticket if you have any other questions about the library.