Android Question What is the difference between $ and .

Discussion in 'Android Questions' started by little3399, May 18, 2015.

  1. little3399

    little3399 Active Member Licensed User

    Hi, everyone

    I found some detail about using Reflector lib ... some writing ... such as following code ...

    Dim r As Reflector
    Dim idPressed As Int
    idPressed = r.GetStaticField("android.R$drawable", "list_selector_background")
    it using "$" to alternative "." ...
    Does it was equivalent ?

    Who can tell me about this answer ? TKS!
  2. Erel

    Erel Administrator Staff Member Licensed User

    It means that drawable is a nested class inside android.R class.
    thedesolatesoul and DonManfred like this.