Android Question [SOLVED]ULV and switch in list layout

Discussion in 'Android Questions' started by jayel, Jun 2, 2015.

  1. jayel

    jayel Active Member Licensed User

    Hello,

    I get following error :
    Code:
    Dim cv As SwitchView = LayoutPanel.GetView(1)
    javac 
    1.7.0_75
    src\be\robotronic\robodomotica\subitems.java:
    471: error: inconvertible types
    _cv = (be.robotronic.robodomotica.switchview)(_layoutpanel.GetView((int) (
    1)).getObject());
                                                 ^
      required: 
    switchview
      found:    
    View
    I am using http://www.b4x.com/android/forum/threads/switch-view-android-4.38971/#content in a list layout with Ultimate listview.

    Can somebody point me to the right direction?
     
  2. jayel

    jayel Active Member Licensed User

    Solved by Fred (great support via mail for Ultimate listview)

    Code:
    Dim cv As SwitchView
        cv.Switch = layoutpanel.GetView(
    1)
     
Loading...