casting

  1. mcqueccu

    Android Question Automatic datatype conversion

    Formerly I don't have to worry so much about data type as IDE takes care of it for me, Example if i have string variable = "2" and i have integer variable = 2 and I compare, i will get true but no more. Here are two scenarios where that no longer work: I have a php script echo "failed"; then...
  2. TelKel81

    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 !
  3. 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...
  4. 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