hey guys I want to get Type of class parameter? Ho...
# announcements
m
hey guys I want to get Type of class parameter? How to achieve that I’ve search on google but withour success
abstract class ViewModelFragment<T : ViewModel>{
inline fun<reified R: T> getGenericTClass() = R::class.java
}