Re: [mono-android] Updating the UI

2012-10-05 Thread Tomasz Cielecki
Have you tried invalidating the view instead of removing it and re-adding it? >From Android docs http://developer.android.com/reference/android/view/View.html#invalidate() "To force a view to draw, call invalidate()." Or from a non-ui thread call postInvalidate(). On Fri, Oct 5, 2012 at 10:13 PM

Re: [mono-android] Updating the UI

2012-10-05 Thread Samus Arin
... I say this with a compassionate love for programming ... -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Updating-the-UI-tp5712111p5712120.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ M

Re: [mono-android] Updating the UI

2012-10-05 Thread Samus Arin
... Well, I was trying to update the text of a TextView that was already added to a LinearLayout. What ended up working was to first remove the TextView from the LinearLayout, update its text, and then re-add it. ANDROID SUCKS! -- View this message in context: http://mono-for-android.1047100

Re: [mono-android] Updating the UI

2012-10-05 Thread Samus Arin
NOPE. Even linking the button clicks of the Calendar's child members button's click event with an event in the Activity, where this activity event calls calendar.NextMonth() within RunOnUi(), the screen still doesn't update until I click off into another text box. -- View this message in contex

Re: [mono-android] Updating the UI

2012-10-05 Thread Samus Arin
I'm going to try to use a callback/delegate in my launcher activity and pass it to my custom calendar, where the callback will call RunOnUI for it. I just want to see it work! -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Updating-the-UI-tp5712111p5712112.html