Questions tagged as 'xamarin-forms'

1
answer

Save image to Xamarin Forms

How to save the image from BD to any folder in the project? I need to create a new folder or save the image to any folder inside the app so I can use it in View . My code: byte[] imageBytes; var FileImage = new Image(); imageBy...
asked by 07.12.2016 / 16:17
2
answers

How to include new right icon in a Xamarin Forms activity

Is it possible to include a new icon in a activity but on the right, without changing the existing one? I need to include the user's photo on the right. (Red place in the image) Image:     
asked by 02.12.2016 / 20:00
1
answer

How do I know if a button was clicked? Xamarin Forms

I have sometimes needed to know when a button has been clicked and I have not found a native property in C # / Xamarin. For example: InthisimageabovewehaveaEntrywithaText(justtoillustrate)writtenPesquisa...byDefautandwithaToUpperfunction(tol...
asked by 10.07.2018 / 16:15
2
answers

How to handle an empty Entry?

I have 4 text inputs and a button: <Entry x:Name="Densidade" Keyboard="Numeric"/> <Entry x:Name="Volume" Keyboard="Numeric"/> <Entry x:Name="Area" Keyboard="Numeric"/> <Entry x:Name="Cu...
asked by 04.07.2018 / 16:03
1
answer

Space and color between ViewCell in a ListView

I would like help because I can not leave the way I hope, there is more space between colors. The gray is the background I put and the yellow is being filled by Binding . The red line is BoxView that I want to use to make the distri...
asked by 28.05.2018 / 16:42
2
answers

Loading while searching JSON

I need to create a "Loading" when I click a JSON information fetch button on a website. Loading needs to be in the middle of the screen. Code: <?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://xamarin.com/schemas/2...
asked by 18.04.2018 / 19:35
1
answer

Create and display a badge on a page xamarin

I use xamarin.forms (Net Standard) and am having trouble creating a badge and displaying its value. I have a Tabbed Page that has a Grid with 8 cells. Each cell has an image and each image will receive this badge with its respective value....
asked by 23.02.2018 / 15:46
1
answer

Grid with Spacing and BoxView

I am learning to use Grid and I have three doubts in my project that even in the tests or the accompanying tutorials I did not get good results in practice since I always saw tests being done with BoxView: What is the best way to give space...
asked by 07.06.2018 / 20:54
1
answer

Display JSON data in ListView

How do I load a ListView with the result of a method that returns an object already loaded with JSON? Method that loads object with JSON namespace MeuProjeto.ViewModels.jsonModels { class JSON { /*async void getJSON<T>...
asked by 28.10.2017 / 19:48
1
answer

(CS0029) convert a List to ObservableCollection || SQLite

I'm trying to create a method that returns a ObservableCollection instead of a List in SQLite namespace Projeto_03.DataBase { public class TarefasDataAccess { private SQLiteConnection _database; public Ta...
asked by 13.09.2017 / 19:53