Basically I have a simple code that sends multiple events:
for (i in 1..2) {
val bundle = Bundle().apply {
putInt("step", i)
putString("key", "value")
}
mFirebaseAnalytics.logEvent("test_event", bundle)
}
Despite the fact that events are logged separately, sometimes they are displayed doubled (or combined) in DebugView, so it looks like this
But sometimes events are shown separately (as normal).
Any ideas why this happen? Logcat shows the events are being sent separately.
P.S. The real case scenario when I noticed this behavior is tracking the viewed products in the list (RecyclerView), when the user quickly scrolls the list and the events are doubled in the DebugView.