From 75aa724ed01ef9eed0b44bbbb369045855cff031 Mon Sep 17 00:00:00 2001 From: kangyuri1114 Date: Wed, 3 Jan 2024 18:27:35 +0900 Subject: [PATCH] =?UTF-8?q?[fix]:=20=EB=B7=B0=ED=8E=98=EC=9D=B4=EC=A0=80?= =?UTF-8?q?=20=ED=95=A8=EC=88=98=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hamyeonham/feature/login/LoginActivity.kt | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/feature/login/src/main/java/com/hmh/hamyeonham/feature/login/LoginActivity.kt b/feature/login/src/main/java/com/hmh/hamyeonham/feature/login/LoginActivity.kt index 209c0cd0..c5fddea4 100644 --- a/feature/login/src/main/java/com/hmh/hamyeonham/feature/login/LoginActivity.kt +++ b/feature/login/src/main/java/com/hmh/hamyeonham/feature/login/LoginActivity.kt @@ -18,6 +18,19 @@ class LoginActivity : AppCompatActivity() { private val loginViewModel: LoginViewModel by viewModels() private lateinit var loginViewPagerAdapter: LoginViewPagerAdapter + // 삭제 예정 + private val dummyImageList = listOf( + DummyImage( + Image = R.drawable.login_sample_rectagle_viewpager, + ), + DummyImage( + Image = R.drawable.login_sample_rectagle_viewpager, + ), + DummyImage( + Image = R.drawable.login_sample_rectagle_viewpager, + ), + ) + private val callback: (OAuthToken?, Throwable?) -> Unit = { token, error -> when { error != null -> { @@ -37,23 +50,10 @@ class LoginActivity : AppCompatActivity() { binding.btnLogin.setOnClickListener { loginWithKakaoApp() } - setLoginViewPager() } private fun setLoginViewPager() { - val dummyImageList = listOf( - DummyImage( - Image = R.drawable.login_sample_rectagle_viewpager, - ), - DummyImage( - Image = R.drawable.login_sample_rectagle_viewpager, - ), - DummyImage( - Image = R.drawable.login_sample_rectagle_viewpager, - ), - ) - loginViewPagerAdapter = LoginViewPagerAdapter(dummyImageList) binding.run { vpLogin.adapter = loginViewPagerAdapter