-
-
Save albodelu/2ec63e88152ff8f0000a6007c21f59d5 to your computer and use it in GitHub Desktop.
Kotlin Extension Usages
This file contains hidden or 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
| bundle?.let { intent.putExtras(it) } //si el bundle no es null, lo añadimos como extra al intent | |
| //crear un animationSet al estilo builder | |
| val animationSet = AnimatorSet().apply { | |
| playTogether(animX, animY) | |
| duration = 350 | |
| interpolator = FolioBounceInterpolator() | |
| }.start() |
This file contains hidden or 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
| val cipherInputStream = CipherInputStream(ByteArrayInputStream(Base64.decode(encriptedValue, Base64.DEFAULT)), output) | |
| val readResult = cipherInputStream.bufferedReader().use { it.readText() } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment