Hello, I am having a trouble with drawing custom v...
# android
n
Hello, I am having a trouble with drawing custom view - I don't want to allocate bitmap/paint/nothing in onDraw, but when I move it outside, I get NPE. Below is my class which works - anyone could provide some suggestion how to refactor it? 🙂 This is my first custom view drawing so please don't be too harsh on me 🙂
Copy code
there was code but there is not anymore, as I won't get help here anyway as I see
google 3
@ghedeon thanks for very "helpful" comment 😉
g
welcome! Thanks for "respecting" the topic of the channel 😉
r
Delete this please
n
wouldn't it be easier @ghedeon to guide me which topic should I use?
r
The topic of the #android channel, written at the top of the Slack window. This channel is for Android problems specific to the Kotlin language, your problem isn’t Kotlin-specific, so it’s not the right place for it.
n
@ribesg, good, so what would be better channel? I didn't want to spam on #general, but maybe I should?
r
The only kinda-appropriate place on this Slack is #random I guess. All channels are for kotlin specific discussion. Maybe you’ll have better luck on Android United http://android-united.community/
👍 1