I had been trying to call an uninitialised Canvas inside another Class so when it was trying to get the height or width of it, it would crash.
I had been trying to call an uninitialised Canvas inside another Class so when it was trying to get the height or width of it, it would crash.