Hey, everyone specially extension developers. I learned some java and android studio for getting some information to make extensions.
I am beginniner please help.
I am confused that in android studio we get any view by id and cast it into it’s type and use it. But how we can get views(like buttons, arrangements) in extension making process of java and use it.
In AppInventor mostly we get view using AndroidViewComponent.All visible components come in this category.
However you have more options like HVArrangement or simply the visible component name like Button , VerticalArrangement , HorizontalArrangement, etc.
Something similar to this:
public void GetView(AndroidViewComponent component){
View view = component.getView();
}