January 2018
Intermediate to advanced
434 pages
14h 1m
English
We can also create anonymous inner classes in Kotlin using the object keyword, like this:
val customTextTemplateListener = object:ValueEventListener{ override fun onCancelled(p0: DatabaseError?) { } override fun onDataChange(dataSnapshot: DataSnapshot?) { }}
Read now
Unlock full access