Exdposed getCurrentViewType ans create view methods