Android Question CustomListView from Starter

Discussion in 'Android Questions' started by sigster, Aug 28, 2018.

  1. sigster

    sigster Active Member Licensed User


    How can I use CustomListView in Starter
    I get error Cannot access activity object from sub Progress_global

    For i = 1 To 20
    $"Item #${i}"$, Listv_fyrirtaki.AsView.Width, 60dip), $"Item #${i}"$)
  2. Erel

    Erel Administrator Staff Member Licensed User

    You cannot. You can only access it from the activity code or from a class initialized from an activity.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice