BaseFragment 썸네일형 리스트형 base fragment,activity 예시 package com.spark.android.ui.base import android.os.Bundle import androidx.annotation.LayoutRes import androidx.appcompat.app.AppCompatActivity import androidx.databinding.DataBindingUtil import androidx.databinding.ViewDataBinding abstract class BaseActivity( @LayoutRes private val layoutRes: Int ) : AppCompatActivity() { protected lateinit var binding: T override fun onCreate(savedInstanceStat.. 더보기 이전 1 다음