AndroidBites | Never be confused by Init blocks invocations again!
Even been confused or keep forgetting which is called first init blocks or constructors? Never again keep reading…
Hi #androidDevs, This is Androidbites where I try to break down a small concept into an understandable code snippet and share my learning experience with it.
Today we are discussing
init blocks, here is a little challenge for you guys, let's see if you could guess the correct out! if you can guess the right output you get a Candy,
if you don’t know then, don’t worry grab your headphones and put on lofi music and read thought my article from below…👇💻
AndroidBites | Init Blocks will never haunt you again
kotlin init block order | kotlin default constructor | java init block | java static block | kotlin companion | kotlin…
See you on the other side 😈