feat(home): 장르 크리에이터 페이지 리소스를 추가한다

This commit is contained in:
2026-06-04 19:37:56 +09:00
parent c436866a51
commit c714a9d4c8
7 changed files with 121 additions and 34 deletions

View File

@@ -0,0 +1,19 @@
package kr.co.vividnext.sodalive.v2.main.home.ui
import android.content.Context
import android.util.AttributeSet
import androidx.recyclerview.widget.PagerSnapHelper
import androidx.recyclerview.widget.RecyclerView
class HomePagerSnapRecyclerView @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null,
defStyleAttr: Int = 0
) : RecyclerView(context, attrs, defStyleAttr) {
private val snapHelper = PagerSnapHelper()
init {
clipToPadding = false
if (onFlingListener == null) snapHelper.attachToRecyclerView(this)
}
}