amulyakhare / TextDrawable

This light-weight library provides images with letter/text like the Gmail app. It extends the Drawable class thus can be used with existing/custom/network ImageView classes. Also included is a fluent interface for creating drawables and a customizable ColorGenerator.
MIT License
3.16k stars 622 forks source link

Crashes on AIDE when app starts #19

Open jtadiarca opened 9 years ago

jtadiarca commented 9 years ago

I only use AIDE on my nexus 5. Everytime a textdrawable or colorgenerator created, the app crashes. No logcat output so I can't tell why it's crashing. It's not in my code cause when I comment the textdrawable initialization code, my app does not crash.

Sample code that crashes my app: TextDrawable drawable = TextDrawable.builder() .buildRect("A", Color.RED); ColorGenerator mGenerator = ColorGenerator.MATERIAL;

jtadiarca commented 9 years ago

Or maybe it's the fact that I am using RecyclerView? In your sample code, you used a ListView instead.

caraus commented 9 years ago

First objective that I am trying to get going. Is writing code to any device that will jump over the arguments. Far as list view or RecyclerView Sure that you will have to compile a command. Working a little so far. Made some progress. My debbuger has kick out some arguments. Have addressed a few and is working so far.