-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/analytics logger #26
Conversation
8e926de
to
8005cb0
Compare
|
||
import com.trendyol.android.devtools.analyticslogger.internal.data.model.EventEntity | ||
|
||
internal interface EventRepository { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the advantage of using interface for repository?
"#3222A6B3", | ||
) | ||
|
||
fun getColor(value: String): Int { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary?
|
||
import com.squareup.moshi.Moshi | ||
|
||
internal fun String?.beautify(moshi: Moshi): String? { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this Moshi
can be provided from AnalyticsContainer via static instance.
A devTools module to inspect sent analytics events.
Usage:
Screenshots: