casting

  1. M

    Android Question Is there a way to create/return an explicit cast of a List/Map.

    Ex: Dim myLife as Map (As yearstring, As Wine) If myLife.Get("2019").IsTonsOfWine = True Then... Because I haven't found any with the IDE or in the forums. That would be a huuuuuuuuuuuuuuuuuuuuuuuge time saver I believe. Thanks !
  2. DonManfred

    B4A Library Casty - Cast Videos to Google Cast Devices (Chromecast)

    This is a wrap for this Github project. I started doing the wrap back in 2017 but did not got it working. A few tries later i now got it working ;-) Casty Author: DonManfred Version: 1.0 Class representing local media metadata. Fields: KEY_CONTENT_TYPE As String KEY_IMAGES As String...
  3. Sandman

    iOS Question [SOLVED] What to cast views to, to get tag? (View class hierarchy)

    In B4A, it's possible to cast (almost) all views as a Label to get the tag, for instance. Doing so in B4I causes a crash. Can I cast iOS views to something else to easily get some common properties, such as the tag?
Top