{"action":"created","issue":{"url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/5725","repository_url":"https://api.github.com/repos/xamarin/Xamarin.Forms","labels_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/5725/labels{/name}","comments_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/5725/comments","events_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/5725/events","html_url":"https://github.com/xamarin/Xamarin.Forms/issues/5725","id":426192820,"node_id":"MDU6SXNzdWU0MjYxOTI4MjA=","number":5725,"title":"XF 3.6 Cast Error onFocus Android","user":{"login":"ianvink","id":112916,"node_id":"MDQ6VXNlcjExMjkxNg==","avatar_url":"https://avatars1.githubusercontent.com/u/112916?v=4","gravatar_id":"","url":"https://api.github.com/users/ianvink","html_url":"https://github.com/ianvink","followers_url":"https://api.github.com/users/ianvink/followers","following_url":"https://api.github.com/users/ianvink/following{/other_user}","gists_url":"https://api.github.com/users/ianvink/gists{/gist_id}","starred_url":"https://api.github.com/users/ianvink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianvink/subscriptions","organizations_url":"https://api.github.com/users/ianvink/orgs","repos_url":"https://api.github.com/users/ianvink/repos","events_url":"https://api.github.com/users/ianvink/events{/privacy}","received_events_url":"https://api.github.com/users/ianvink/received_events","type":"User","site_admin":false},"labels":[{"id":343860851,"node_id":"MDU6TGFiZWwzNDM4NjA4NTE=","url":"https://api.github.com/repos/xamarin/Xamarin.Forms/labels/t/bug%20:bug:","name":"t/bug :bug:","color":"fc2929","default":false,"description":""}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-03-27T21:31:15Z","updated_at":"2019-12-11T12:59:34Z","closed_at":"2019-03-27T21:42:04Z","author_association":"NONE","body":"<!-- Bug report best practices: https://github.com/xamarin/Xamarin.Forms/wiki/Submitting-Issues -->\r\n\r\nX.F 3.6, tried on both NuGet 3.6 and the latest build from GitHub built locally. \r\nLog attached **Android only**\r\n\r\n### Description\r\n\r\n**Android only**\r\n\r\n1. Add a {Bound} Entry to a page with text in the model.\r\n2. Entry renders fine\r\n3. Tap into the control \r\n4. OnFocus throws Invalid Cast error on at :\r\n\r\n_Xamarin.Forms.Platform.Android.ViewRenderer`2[TView,TNativeView].Android.Views.View.IOnFocusChangeListener.OnFocusChange (Android.Views.View v, System.Boolean hasFocus) [0x0006c] in D:\\a\\1\\s\\Xamarin.Forms.Platform.Android\\ViewRenderer.cs:111_ \r\n\r\n \r\n\r\n### Expected Behavior\r\nNot Crash\r\n### Actual Behavior\r\nCrash\r\n\r\n\r\n### Basic Information\r\n\r\n\r\n- IDE: VS 2017\r\n\r\n  - Android: 9\r\n\r\n[Xamarin.Forms.Material.Android.MaterialFormsTextInputLayoutBase.OnFocusChange.txt](https://github.com/xamarin/Xamarin.Forms/files/3015335/Xamarin.Forms.Material.Android.MaterialFormsTextInputLayoutBase.OnFocusChange.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/comments/564528581","html_url":"https://github.com/xamarin/Xamarin.Forms/issues/5725#issuecomment-564528581","issue_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/5725","id":564528581,"node_id":"MDEyOklzc3VlQ29tbWVudDU2NDUyODU4MQ==","user":{"login":"antborari","id":31516548,"node_id":"MDQ6VXNlcjMxNTE2NTQ4","avatar_url":"https://avatars0.githubusercontent.com/u/31516548?v=4","gravatar_id":"","url":"https://api.github.com/users/antborari","html_url":"https://github.com/antborari","followers_url":"https://api.github.com/users/antborari/followers","following_url":"https://api.github.com/users/antborari/following{/other_user}","gists_url":"https://api.github.com/users/antborari/gists{/gist_id}","starred_url":"https://api.github.com/users/antborari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antborari/subscriptions","organizations_url":"https://api.github.com/users/antborari/orgs","repos_url":"https://api.github.com/users/antborari/repos","events_url":"https://api.github.com/users/antborari/events{/privacy}","received_events_url":"https://api.github.com/users/antborari/received_events","type":"User","site_admin":false},"created_at":"2019-12-11T12:59:34Z","updated_at":"2019-12-11T12:59:34Z","author_association":"NONE","body":"Excuse me, now I have the same problem. I have one Editor and when I do Onfocus outside Editor throws an exception. Send me with the solution please.. to abaristu@gmail.com"}}
{"actor":{"display_login":"antborari"}}