{"action":"created","issue":{"url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/4674","repository_url":"https://api.github.com/repos/xamarin/Xamarin.Forms","labels_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/4674/labels{/name}","comments_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/4674/comments","events_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/4674/events","html_url":"https://github.com/xamarin/Xamarin.Forms/issues/4674","id":388661711,"node_id":"MDU6SXNzdWUzODg2NjE3MTE=","number":4674,"title":"Visual=Material breaks image loading inside a bindable flexlayout","user":{"login":"mikescandy","id":2494505,"node_id":"MDQ6VXNlcjI0OTQ1MDU=","avatar_url":"https://avatars2.githubusercontent.com/u/2494505?v=4","gravatar_id":"","url":"https://api.github.com/users/mikescandy","html_url":"https://github.com/mikescandy","followers_url":"https://api.github.com/users/mikescandy/followers","following_url":"https://api.github.com/users/mikescandy/following{/other_user}","gists_url":"https://api.github.com/users/mikescandy/gists{/gist_id}","starred_url":"https://api.github.com/users/mikescandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikescandy/subscriptions","organizations_url":"https://api.github.com/users/mikescandy/orgs","repos_url":"https://api.github.com/users/mikescandy/repos","events_url":"https://api.github.com/users/mikescandy/events{/privacy}","received_events_url":"https://api.github.com/users/mikescandy/received_events","type":"User","site_admin":false},"labels":[{"id":1150368927,"node_id":"MDU6TGFiZWwxMTUwMzY4OTI3","url":"https://api.github.com/repos/xamarin/Xamarin.Forms/labels/a/visual","name":"a/visual","color":"c2e0c6","default":false},{"id":770948107,"node_id":"MDU6TGFiZWw3NzA5NDgxMDc=","url":"https://api.github.com/repos/xamarin/Xamarin.Forms/labels/s/needs-repro%20%E2%9D%94","name":"s/needs-repro ❔","color":"d93f0b","default":false},{"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}],"state":"closed","locked":false,"assignee":{"login":"PureWeen","id":5375137,"node_id":"MDQ6VXNlcjUzNzUxMzc=","avatar_url":"https://avatars1.githubusercontent.com/u/5375137?v=4","gravatar_id":"","url":"https://api.github.com/users/PureWeen","html_url":"https://github.com/PureWeen","followers_url":"https://api.github.com/users/PureWeen/followers","following_url":"https://api.github.com/users/PureWeen/following{/other_user}","gists_url":"https://api.github.com/users/PureWeen/gists{/gist_id}","starred_url":"https://api.github.com/users/PureWeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PureWeen/subscriptions","organizations_url":"https://api.github.com/users/PureWeen/orgs","repos_url":"https://api.github.com/users/PureWeen/repos","events_url":"https://api.github.com/users/PureWeen/events{/privacy}","received_events_url":"https://api.github.com/users/PureWeen/received_events","type":"User","site_admin":false},"assignees":[{"login":"PureWeen","id":5375137,"node_id":"MDQ6VXNlcjUzNzUxMzc=","avatar_url":"https://avatars1.githubusercontent.com/u/5375137?v=4","gravatar_id":"","url":"https://api.github.com/users/PureWeen","html_url":"https://github.com/PureWeen","followers_url":"https://api.github.com/users/PureWeen/followers","following_url":"https://api.github.com/users/PureWeen/following{/other_user}","gists_url":"https://api.github.com/users/PureWeen/gists{/gist_id}","starred_url":"https://api.github.com/users/PureWeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PureWeen/subscriptions","organizations_url":"https://api.github.com/users/PureWeen/orgs","repos_url":"https://api.github.com/users/PureWeen/repos","events_url":"https://api.github.com/users/PureWeen/events{/privacy}","received_events_url":"https://api.github.com/users/PureWeen/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-12-07T13:47:43Z","updated_at":"2018-12-08T06:20:12Z","closed_at":"2018-12-08T01:41:25Z","author_association":"CONTRIBUTOR","body":" \r\n### Description\r\nImages are not loading inside a FlexLayout with a BindableLayout.ItemsSource and a                         BindableLayout.ItemTemplatei if the contentpage Visual is set to Material\r\n\r\n### Steps to Reproduce\r\n\r\n- Set the Visual of the ContentPage to \"Material\"\r\n- Add a flexlayout:\r\n```\r\n <FlexLayout Margin=\"0,20,0,0\" BindableLayout.ItemsSource=\"{Binding Artist.Songs}\"  Direction=\"Row\" Wrap=\"Wrap\" JustifyContent=\"SpaceEvenly\">\r\n                        <BindableLayout.ItemTemplate>\r\n                            <DataTemplate>\r\n                                <templates:AlternateAlbumTemplate/>\r\n                            </DataTemplate>\r\n                        </BindableLayout.ItemTemplate>\r\n                    </FlexLayout>\r\n```\r\nthis is the template\r\n```\r\n<Frame \r\n    xmlns=\"http://xamarin.com/schemas/2014/forms\" \r\n             xmlns:x=\"http://schemas.microsoft.com/winfx/2009/xaml\"\r\n    xmlns:views=\"clr-namespace:Pollux.Views\"\r\n    x:Class=\"Pollux.Templates.AlternateAlbumTemplate\"\r\n    Margin=\"5\" Padding=\"0\" CornerRadius=\"8\" HasShadow=\"True\" HeightRequest=\"150\" WidthRequest=\"150\">\r\n    <Grid HeightRequest=\"150\" WidthRequest=\"150\">\r\n        <Image x:Name=\"CachedImage\" HeightRequest=\"150\" WidthRequest=\"150\"  Aspect=\"AspectFill\" />\r\n        <views:SKGradientCanvasView HeightRequest=\"150\" WidthRequest=\"150\" VerticalOptions=\"Start\"  />\r\n        <Label Margin=\"10,0,10,10\"  Text=\"{Binding Title}\"  FontSize=\"12\" FontFamily=\"Montserrat-Bold.ttf#Montserrat-Bold\" TextColor=\"White\" VerticalOptions=\"End\" LineBreakMode=\"WordWrap\"  />\r\n    </Grid>\r\n</Frame>\r\n```\r\n\r\n### Expected Behavior\r\nThe image loads\r\n### Actual Behavior\r\nImage doesn't load. Debug output shows\r\nContext `android.view.ContextThemeWrapper@f47d335` is not an Android.App.Activity, aborting image load for `Uri:\r\n### Basic Information\r\n\r\n- Version with issue: 4.0.1.7734-nightly\r\n- Last known good version: n/a\r\n- IDE: Visual Studio\r\n- Platform Target Frameworks:  \r\n    - Android: 9.0\r\n- Android Support Library Version: 28.0.0-preview8\r\n- Affected Devices: tested on emulator\r\n\r\n### Screenshots\r\n![image](https://user-images.githubusercontent.com/2494505/49651071-1e5e5500-fa26-11e8-8192-ee3640593085.png)\r\nvs.\r\n![image](https://user-images.githubusercontent.com/2494505/49651143-59f91f00-fa26-11e8-8d2b-194930f238ad.png)\r\n \r\n\r\n### Reproduction Link\r\n\r\nWill try to provide a sample code to reproduce the issue if needed.\r\n"},"comment":{"url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/comments/445435267","html_url":"https://github.com/xamarin/Xamarin.Forms/issues/4674#issuecomment-445435267","issue_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/4674","id":445435267,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTQzNTI2Nw==","user":{"login":"PureWeen","id":5375137,"node_id":"MDQ6VXNlcjUzNzUxMzc=","avatar_url":"https://avatars1.githubusercontent.com/u/5375137?v=4","gravatar_id":"","url":"https://api.github.com/users/PureWeen","html_url":"https://github.com/PureWeen","followers_url":"https://api.github.com/users/PureWeen/followers","following_url":"https://api.github.com/users/PureWeen/following{/other_user}","gists_url":"https://api.github.com/users/PureWeen/gists{/gist_id}","starred_url":"https://api.github.com/users/PureWeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PureWeen/subscriptions","organizations_url":"https://api.github.com/users/PureWeen/orgs","repos_url":"https://api.github.com/users/PureWeen/repos","events_url":"https://api.github.com/users/PureWeen/events{/privacy}","received_events_url":"https://api.github.com/users/PureWeen/received_events","type":"User","site_admin":false},"created_at":"2018-12-08T06:20:12Z","updated_at":"2018-12-08T06:20:12Z","author_association":"CONTRIBUTOR","body":"@mikescandy \r\nI'll keep an eye out while I'm working on this more :-) I'm probably redoing the code that uses the ContextThemeWrapper's anyway.\r\n\r\nThank you for trying out the Visual stuff!! Let me know any thoughts or suggestions\r\n"}}
{"actor":{"display_login":"PureWeen"}}