A
A
akass2015-01-14 22:51:18
Android
akass, 2015-01-14 22:51:18

What's the easiest way to display a xamarin table?

There is a collection of such objects

public class Film
        {

            public string Name { get; set; }
            public int Year { get; set; }
       public int Opisanie { get; set; }

        }

How to get a list of Title+Description of all objects?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem Voronov, 2015-01-15
@newross

The wording of the question is rather vague. What is meant by "get"? Take from the database, from a remote service?
Or do you just need to display the list on the screen? If yes, use ListView.

E
Eugene, 2015-01-15
@Eugene22

A list is created, for example, in the form of an ObservableCollection. A ListView is created with binding elements to model properties. Well, that's all. As a basis, you can take this or this xamarin example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question