The UpdateImageVw is called from the UpdateImageVwFrmCvs in the AppDashUIcodes module.
In the AppDashUIstyle1 you are using a variable imgvwBG that is of type ImageView (i guess because the variable is declared as a B4XView).
In the AppDashUIstyle2 you are using a variable pnlDrawingCanvas that is of type Pane (i guess again declared as a B4XView).
The SetBitmap accepts an argument of type Image and the appVw is a Pane, right?
You might also have an issue with the SetBitmap method because the types are not the same.
Declaring variables as B4XView is OK if you are programming for the 3 platforms (B4A, B4I and B4J).
The type conversions can cause some problems.
Using a prefix (img or pnl) with the name of the variables is always a good idea.