On Mar 26, 2012, at 9:05 PM, Wally McClure wrote:
> I'm doing some testing out and would like to force a view to get focus.  I 
> realize that this is a bad thing in Android, but I thought I would at least 
> give it a try.  I called the view's .RequestFocus() method, and the view does 
> get focus.  Unfortunately, the focus seems to be going away.  I have setup 
> the view's .FocusChange property to process the OnFocusChange event and I see 
> the method called twice.  The first is when the view gets focus and then when 
> the view loses focus.  Does anyone know why the view loses focus?

I would suggest creating a Java.Lang.Throwable and looking at the stack trace 
to see what the native stack trace is when you're called the second time. 
Hopefully that will provide a clue why OnFocusChange is being invoked twice.

 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to