Help me with the extension code

What is the alternative to findViewById ()?
estout trying to create an extension, and I don't know how to proceed when trying to return the component id of the inventor app,

public void Fucction (AndroidViewComponent component) {
//component.getView ();
  findViewById (component) ???? does not work!!!

How to return the id of a component of the niventor App or an alternative to findViewById ():

1 Like
    public void DoSomething(AndroidViewComponent component){
      View myComponent = (View)component.getView();

There’s no need to find by ID because “myComponent” is the View.