Android Question Switch Button missing setText

Discussion in 'Android Questions' started by AymanA, Jun 28, 2019.

  1. AymanA

    AymanA Member Licensed User

  2. DonManfred

    DonManfred Expert Licensed User

    Yes, it has changed a lot. There is no such method in the github project.
    There is a settext method but it needs two charsequences. One for on one for off.
    I´ve implemented it but it seems to make no visual difference.
  3. AymanA

    AymanA Member Licensed User

    So you mean it was not included in version 2.1? I have tried to set the value for On and Off but it is not defined so I cannot use the method, I assume I misunderstood what you said.
  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