I have a Drawable generated by a library,it makes round image with letter inside.
But in the view that I have to insert, accepts only url, and I need to convert this drawable to a url, but I don't know how to do it.
The Drable looks like:
TextDrawable drawable = TextDrawable.builder()
.buildRound(mConnection.getUser().substring(0, 1).toUpperCase(), ContextCompat.getColor(getApplicationContext(),mConnection.getContactStatus(mcontact).getColor()));;
thanks in advance