C# Xamarin Android. How call FindViewById method by static method (same class)? RRS feed

  • Question

  • I think I have run aground for a trivial problem: I need to change the text of a textView by a static method (elapsed timer).  I tried to istantiate in the static method the Activity class to call FindViewById, but it doesn't work.  Can you help me?  I'm a beginner.  Thanks.
    Sunday, September 29, 2019 9:25 PM


All replies

  • Hi Hectasoft,

    Thank you for posting here.

    Since this thread is related to Xamarin Android, I don't suggest that you post it here. Therefore, I will move it to where is forum for forum to redirect it to the correct forum.

    The Visual C# forum discusses and asks questions about the C# programming language, IDE, libraries, samples, and tools.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Monday, September 30, 2019 5:18 AM
  • I'd try asking for help over here.



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Monday, September 30, 2019 9:21 AM