Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Sample app for uploading images and displaying in a listview

$
0
0

I am creating a Xamarin Forms master-detail app allowing users to pick a photo from the album or take a new from the camera. The user is then shown a preview of the photo. When clicking save I save the path to the photo in a sqlite db, I resize the photo to a smaller size and upload it to a rest service. Then I want to present a list of thumbnails in a listview of uploaded photos. I am thinking this is a pretty common usecase so wanted to know if anybody has some sample code or best practice for an app like this? My biggest issue is how should I handle image size. In the listview should I use the original size? (I have had some memory issues on Android here). Has the image control some build in thumbnail functionality? Also what would be a nice UI for letting the user pick photos that works nicely cross plattform? I am using Xamarin.Mobile to handle the pick and take photo functionality


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>