please let me know the chances for these issue
Only the original thread that created a view hierarchy can touch its views.
Hi, you created the view in your UI thread, so only there you can use it.
Try this code:
Let me check it working in my code
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies