Quiz

Hello,

I am looking for an good example with code for a Quiz , want to make a multiple choice quiz.

Use or a sqlite database or maybe something online ( Azure or Firebase? ) so i can correct or ajust the quistions , and the app is not getting to big.

Has to be for Android and IOs .

Tagged:

Answers

  • ChristopheBERNARDChristopheBERNARD BEMember ✭✭✭✭

    Hello @Borisoprit
    I don't know your level or experience but there are some sample on youtube or google.
    Of course most of them are develop in android studio (java) but it's a good pratice to translate ...

    hope this help

  • LeonLuLeonLu Member, Xamarin Team Xamurai

    You can refer to the following thread to make a Quiz.
    https://github.com/yuv4ik/iknowthatflag

    This demo used SQLite database to store data, achieve it by MVVM, if you want to achieve the multiple choices, you can create listview, then achieve the multiselect with following data structure.
    https://xamarinhelp.com/multiselect-listview-xamarin-forms/

     public class SelectableData<T> 
     { 
      public T Data { get; set; }
      public bool Selected { get; set; } 
      }
    
      public class ExampleData
      {
        public string Name { get; set; }
        public string Description { get; set; }
       }
    
     public List<SelectableData<ExampleData>> DataList { get; set; }
    
  • BorisopritBorisoprit Member ✭✭

    Thanks for the reply's.

    Going to take a look at it.

    I just started a few weeks a go with Xamarin forms so don't have that much experience with this

  • LeonLuLeonLu Member, Xamarin Team Xamurai

    Ok, waitting for you updata, If the reply is helpful, please mark it as answer, it will help others who have similar issue.

  • BorisopritBorisoprit Member ✭✭

    Thank for the reply's

    But i think this is a bit to much for now , i have to learn a lot first before using database i think.

    Use the links later.

  • LeonLuLeonLu Member, Xamarin Team Xamurai

    Ok, thanks for your update.

Sign In or Register to comment.