package Ġcom . github . sat osh un . firebase . analytics . sample Android App Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . View Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġcom . github . sat osh un . firebase . analytics . sample . shared . Shared Firebase Analytics Ċ Ċ class ĠMainActivity Ġ: ĠAppCompatActivity () Ġ{ ĊĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠ ĠsetContentView ( R . layout . activity _ main ) ĊĊĠĠĠ ĠfindViewById < View >( R . id . button ). setOnClickListener Ġ{ ĊĠĠĠĠĠ ĠShared Firebase Analytics . log Event () ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ