Greetings, I'm trying to update TextView's on my ui, however the changes aren't reflected until I click into a text box or something.
I have a custom calendar, which is a RelativeLayout that contains a 5x7 grid of LinearLayout's, which in turn contain the TextView that holds the day number. When the user clicks the Next/Prev month button, the TextViews are updated with the new day numbers, but I don't see the changes until clicking into a text box or something. The calendar is a custom layout that contains within it all the child views/layouts it needs (its a self contained view), and so my Launcher Activity only loads the layout file, Main.xml, that contains the custom calendar view. There is nothing in Activity that is associated to the calender (no update functions, input functions, nothing), all the functionality is contained within the custom view (event handling for button clicks, etc,...). I've tried calling Invalidate everywhere possible in the caldendar objects, and tried using an AsyncTask to perform the TextView update assingments. I've tried a Handler/Runnable, and also spawning separate threads (again, all within the Calendar object). Everything I tried functions in the sense that the values get updated, however they all have the same dealyed update issue (need to click off into a text box), so I know I got the syntax right. I don't know what else to try. I know of RunOnUI, but can only be called within an Activity, and so is not available (and I don't want to compromise my class structure just to use this, unless its very minor). Any suggestions ? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Updating-the-UI-tp5712111.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid