https://kotlinlang.org logo
#android
Title
# android
n

natansalda

04/23/2019, 5:57 AM
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

ghedeon

04/23/2019, 9:01 AM
welcome! Thanks for "respecting" the topic of the channel 😉
r

ribesg

04/23/2019, 1:24 PM
Delete this please
n

natansalda

04/23/2019, 3:01 PM
wouldn't it be easier @ghedeon to guide me which topic should I use?
r

ribesg

04/23/2019, 3:05 PM
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

natansalda

04/23/2019, 3:07 PM
@ribesg, good, so what would be better channel? I didn't want to spam on #general, but maybe I should?
r

ribesg

04/23/2019, 3:08 PM
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