Last active
December 6, 2017 16:49
-
-
Save radityagumay/70bb899d628d2e8a310d7c6a2222b2f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override fun setupView(view: View?) { | |
safeWith(arguments) { arguments -> | |
safeWitCouple(zoo, arguments.getParcelable(ZOO), poo, arguments.getParcelable(POO)) { zoo, poo, fromIntent -> | |
[email protected] = zoo as World.Zoo | |
[email protected] = poo as World.Poo | |
if (fromIntent) { | |
arguments.remove(ZOO) | |
arguments.remove(POO) | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment