ffimageloading:CachedImage image not fitting grid

enter image description here Any suggestion on how I can get my image fit in the grid? Below is my code. <Grid HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <ffimageloading:CachedImage x:Name="mainImage" Source="{Binding Image1}" LoadingPlaceholder= "LoaderImage" ErrorPlaceholder= "{Binding Image2}" CacheDuration= "50" RetryCount= "3" RetryDelay= "600" DownsampleToViewSize = "true" Grid.Column="0" WidthRequest="380" HeightRequest="380" […]

By Jay
Categorised as Uncategorised Tagged , , , ,

Populate tableview with Firebase realtime database

Currently I get data from json file located on http server if let url = NSURL(string: “https://test.com/test”) { do { let data = try Data(contentsOf: url as URL) let decoder = JSONDecoder() jsonData = try decoder.decode(TestList.self, from: data) } catch { print(“error:(error)”) } struct TestList: Decodable { enum CodingKeys: String, CodingKey { case items } […]

By Jay
Categorised as firebase-realtime-database, json, swift

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us