Skip to content

Commit

Permalink
[FEAT] EducationStatus ExposureLogging (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
KxxHyoRim committed Nov 13, 2023
1 parent c6e0ac7 commit 53b47da
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import com.lgtm.android.common_ui.R.style
import com.lgtm.android.common_ui.base.BaseFragment
import com.lgtm.android.common_ui.util.setOnThrottleClickListener
import com.lgtm.domain.constants.EducationStatus
import com.lgtm.domain.logging.SwmCommonLoggingScheme


class EducationStatusFragment :
Expand All @@ -31,6 +32,7 @@ class EducationStatusFragment :
setupViewModel()
fetchEducationStatus()
setupNextButtonListener()
shotEducationStatusExposureLogging()
}

private fun setupRadioButtons() {
Expand Down Expand Up @@ -90,4 +92,13 @@ class EducationStatusFragment :
private fun navigateToRealNameActivity() {
findNavController().navigate(R.id.action_educationStatusFragment_to_realNameFragment)
}

private fun shotEducationStatusExposureLogging() {
val scheme = SwmCommonLoggingScheme.Builder()
.setEventLogName("educationStatusExposure")
.setScreenName(this.javaClass)
.setLogData(mapOf("signUpStep" to 5, "juniorStep" to 1))
.build()
viewModel.shotSwmLogging(scheme)
}
}

0 comments on commit 53b47da

Please sign in to comment.