{"action":"created","issue":{"url":"https://api.github.com/repos/MvvmCross/MvvmCross/issues/1000","labels_url":"https://api.github.com/repos/MvvmCross/MvvmCross/issues/1000/labels{/name}","comments_url":"https://api.github.com/repos/MvvmCross/MvvmCross/issues/1000/comments","events_url":"https://api.github.com/repos/MvvmCross/MvvmCross/issues/1000/events","html_url":"https://github.com/MvvmCross/MvvmCross/issues/1000","id":74218342,"number":1000,"title":"Alternate view inflation","user":{"login":"kjeremy","id":4325700,"avatar_url":"https://avatars.githubusercontent.com/u/4325700?v=3","gravatar_id":"","url":"https://api.github.com/users/kjeremy","html_url":"https://github.com/kjeremy","followers_url":"https://api.github.com/users/kjeremy/followers","following_url":"https://api.github.com/users/kjeremy/following{/other_user}","gists_url":"https://api.github.com/users/kjeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/kjeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjeremy/subscriptions","organizations_url":"https://api.github.com/users/kjeremy/orgs","repos_url":"https://api.github.com/users/kjeremy/repos","events_url":"https://api.github.com/users/kjeremy/events{/privacy}","received_events_url":"https://api.github.com/users/kjeremy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-08T03:54:47Z","updated_at":"2015-05-11T14:22:33Z","closed_at":null,"body":"I was thinking about #988 and the diversion I started in https://github.com/MvvmCross/MvvmCross/issues/994#issuecomment-99086405 ...\r\n\r\nI'm wondering if we could achieve our layout binding in an alternate way by providing our own implementation of ```ContextWrapper``` and ```LayoutInflater``` like Calligraphy does.  We would attach this ```MvxContextWrapper``` in ```Activity.AttachBaseContext```  We could then wire up the binding like in https://github.com/MvvmCross/MvvmCross/blob/15d9e2469c6ce0a10f77a218f30761e5f694f2dd/Cirrious/Cirrious.MvvmCross.Binding.Droid/Binders/MvxBindingLayoutInflatorFactory.cs#L67 in our Inflater's ```OnCreateView``` after the factories have inflated their views.  I THINK (unverified) that would allow any attached ```LayoutInflater.Factory``` to run unlike now (we would basically do the binding magic after the factories have given us their view) and then for setups like AppCompat we could do away with the custom ```MvxAndroidViewFactory``` that's needed for material design.\r\n\r\nIt would also be passed to any attached fragments so I don't think we would need to do anything additional to support them.\r\n\r\nThoughts?  Is this reasonable/possible?"},"comment":{"url":"https://api.github.com/repos/MvvmCross/MvvmCross/issues/comments/100924350","html_url":"https://github.com/MvvmCross/MvvmCross/issues/1000#issuecomment-100924350","issue_url":"https://api.github.com/repos/MvvmCross/MvvmCross/issues/1000","id":100924350,"user":{"login":"promontis","id":374646,"avatar_url":"https://avatars.githubusercontent.com/u/374646?v=3","gravatar_id":"","url":"https://api.github.com/users/promontis","html_url":"https://github.com/promontis","followers_url":"https://api.github.com/users/promontis/followers","following_url":"https://api.github.com/users/promontis/following{/other_user}","gists_url":"https://api.github.com/users/promontis/gists{/gist_id}","starred_url":"https://api.github.com/users/promontis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/promontis/subscriptions","organizations_url":"https://api.github.com/users/promontis/orgs","repos_url":"https://api.github.com/users/promontis/repos","events_url":"https://api.github.com/users/promontis/events{/privacy}","received_events_url":"https://api.github.com/users/promontis/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T14:22:32Z","updated_at":"2015-05-11T14:22:32Z","body":"Offtopic: Whoohoo... issue 1000 :) lol"}}