Skip to content

Instantly share code, notes, and snippets.

View radeshf's full-sized avatar
💭
Coding!

Radesh farokh manesh radeshf

💭
Coding!
View GitHub Profile
@radeshf
radeshf / extentions.kt
Last active March 2, 2021 12:42
a bunch of kotlin helpful extentions i use in my code
@file:JvmName("ExtensionsUtils")
/**
* created by radesh farokhmanesh
*/
//#1
fun <T> Activity.goTo(cls:Class<T>,finish: Boolean = true){
startActivity(Intent(this,cls))
if (finish) finish()