Skip to content

Instantly share code, notes, and snippets.

Avatar
🥺
I'm a foolish person who didn't look back because I wanted to grow faster

SangSun Park ParkSangSun1

🥺
I'm a foolish person who didn't look back because I wanted to grow faster
View GitHub Profile
@ParkSangSun1
ParkSangSun1 / gist:72192b3a98fff9d224af345837d31e98
Created Aug 25, 2021
bundleOf - Activity에서 값 넣는 코드
View gist:72192b3a98fff9d224af345837d31e98
private val loginDialog = LoginDialog()
val bundle = bundleOf("key" to value)
loginDialog.arguments = bundle
View gist:49922f3fb5a0b413804e3a2ae4750245
class Client(private val service1 : Service1) {
private var service2 : Service2? = null
fun setService2(service2 : Service2){
this.service2 = service2
}
}
View gist:5ff16ab6b1e8959eae75deb48fef4a91
class Client(private val service1 : Service1) {
}