Purpose of this article
This article is a memo which I've searched how to solve or write such pattern at seviral times.
How to get self class name
Use this::class.java.simpleName
snipet.
companion object {
private val TAG = this::class.java.simpleName
}
コメント