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

    App.getO2mc().setEndpoint(text);
  }
/**
   * Called on 'Set Endpoint' button click
   */
Called on 'Set Endpoint' button click
Called on ' Set Endpoint ' button click
public void onSetEndpointHandler(View v) {
    EditText editText = findViewById(R.id.editTextEndpointIp);
    String text = editText.getText().toString();
    App.getO2mc().setEndpoint(text);
  }
public void onSetEndpointHandler ( View v ) { EditText editText = findViewById ( R . id . editTextEndpointIp ) ; String text = editText . getText ( ) . toString ( ) ; App . getO2mc ( ) . setEndpoint ( text ) ; }
Called on 'Set Endpoint' button click
Called on ' Set Endpoint ' button click