Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

How to change text of a button in the main App from App.Android realtime?

$
0
0

Hi!

I'm receiving realtime data from platform-specific code (Firebase Realtime Database) with EventListener, but my UI is in the main App. I can't figure out how to change button text in the main App from the App.Android code realtime.

Tried Interfaces, Binding and MessagingCenter with no success.

I just want to show how many unread messages a person currently has. Like: $"You have {unreadMessagesSize} unread messages"


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>