-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEAT] HomeMissionClickLogging (#156)
- Loading branch information
Showing
10 changed files
with
69 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
domain/src/main/java/com/lgtm/domain/logging/HomeMissionClickScheme.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package com.lgtm.domain.logging | ||
|
||
import com.lgtm.domain.server_drive_ui.SduiContent | ||
import com.swm.logging.android.logging_scheme.SWMLoggingScheme | ||
|
||
class HomeMissionClickScheme( | ||
sduiContent: SduiContent, | ||
) : SWMLoggingScheme() { | ||
|
||
init { | ||
setLoggingScheme( | ||
logName = "homeMissionClick", | ||
screenName = "HomeFragment", | ||
logVersion = "1", | ||
logData = mutableMapOf( | ||
"sduiContent" to sduiContent | ||
) | ||
) | ||
} | ||
|
||
class Builder { | ||
private lateinit var sduiContent: SduiContent | ||
|
||
fun setMissionContent(sduiContent: SduiContent): Builder { | ||
this.sduiContent = sduiContent | ||
return this | ||
} | ||
|
||
fun build(): HomeMissionClickScheme { | ||
return HomeMissionClickScheme( | ||
sduiContent | ||
) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 0 additions & 41 deletions
41
domain/src/main/java/com/lgtm/domain/logging/HomeScreenExposureScheme.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters