android/app/src/main/java/io/o2mc/app/MainActivity.java
public void onCreateEventHandler(View v) {
    EditText editText = findViewById(R.id.editText);
    String text = editText.getText().toString();

    App.getO2mc().trackWithProperties("Clicked button: 'Create Track Event'", text);
  }
/**
   * Called on 'Create Track Event' button click
   */
Called on 'Create Track Event' button click
Called on ' Create Track Event ' button click
public void onCreateEventHandler(View v) {
    EditText editText = findViewById(R.id.editText);
    String text = editText.getText().toString();
    App.getO2mc().trackWithProperties("Clicked button: 'Create Track Event'", text);
  }
public void onCreateEventHandler ( View v ) { EditText editText = findViewById ( R . id . editText ) ; String text = editText . getText ( ) . toString ( ) ; App . getO2mc ( ) . trackWithProperties ( "Clicked button: 'Create Track Event'" , text ) ; }
Called on 'Create Track Event' button click
Called on ' Create Track Event ' button click