Giter Site home page Giter Site logo

shankarmadeshvaran / 10daysofxamarin Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 1.0 1.05 MB

10DaysOfXamarin is a repository where I keep the projects done by learning from https://10daysofxamarin.blog

License: MIT License

C# 100.00%
xamarin-forms xamarin-android xamarin-ios xamarinforms xamarin-demo mvvm sqlite permissions locations listview

10daysofxamarin's Introduction

10DayOfXamarin

10DaysOfXamarin is a repository where I keep the projects done by learning from 10daysofxamarin

Introduction to Xamarin Forms

Xamarin is an application development platform that lets you build applications for many platforms with a single shared code base.

Xamarin.Forms exposes a complete cross-platform UI toolkit for .NET developers. Build fully native Android, iOS, and Universal Windows Platform apps using C# in Visual Studio.

Challenge

I will create modified and improvised projects on top of the 10DaysOfXamarin projects.

You can follow #10DaysOfXamarin on twitter for latest updates!

All Challenges From Day-0 to Day-10

Day 0

Day 01

  • Create an app that requests the user’s name through an Entry and, on the click of a button, displays -on a label- a greeting to that user.
  • Completed Project and Source Code

Day 02

  • Create an interface that allows users to enter a title and the content for a new experience. This interface should also display a button for the user to save the experience (the actual functionality won’t yet be implemented) and another button to cancel the creation of the new experience.
  • Completed Project and Source Code

Day 03

  • Add the SQLite-net-PCL NuGet package to all projects and make sure that each platform creates the database file in a specific path. Each platform then should pass the platform-specific file path to the shared .NET Standard library project, for its usage with shared code.
  • Completed Project and Source Code

Day 04

  • Create a class that represents the table that holds the experiences, along with some attributes that help model this table when it is created.
  • These attributes include those limiting how long a title can be and setting the primary key.After this, you have to create an instance of this class and insert it into the table.
  • Completed Project and Source Code

Day 05

  • Create a new ExpriencesPage page that contains a ListView. Make this new page the MainPage from the App’s constructor. Make sure you fully implement navigation to the page where users can insert new experiences. The navigation must happen at the click of an “add” or “new” button, I recommend you use a ToolbarItem type of button, but a standard button could do.
  • Create a new connection to the same SQLite database that we used yesterday, this time to read the Experience table. Once the items in the table exist on a local variable, use that variable to populate a ListView that you also need to define.
  • Completed Project and Source Code

Day 06

  • Accessing the GPS requires the user to grant the permissions. Asking for permissions can be particularly tricky on Android, so you use a handy plugin that makes things easier.
  • Once you are confident that the user granted the required permissions, you can request the current location and store the latitude and longitude in a couple of variables. That couple of variables are used tomorrow to get the nearby venues.
  • Completed Project and Source Code

Day 07

  • Our goal today is to use the public Foursquare API to find venues that exist close to the coordinates that we have retrieved. You need to familiarize yourself with the Foursquare search API, create an account so you can create an app that has access to that API, and use the API to search for nearby venues.
  • Users will be able to select the venue from a list, which has to be assigned to the Experience and saved along with the title and experience into the SQLite table.
  • Completed Project and Source Code

Day 08,Day 09 and Day 10

  • To implement the MVVM architectural pattern, we start by using the INotifyPropertyChanged interface in a way that helps us clean some of the code.
  • Completed Project and Source Code

Issues

If you came to know any issues in the sample project that I have shared fell free to crate an issue or contact me via Twitter. I'll responds to the queries as I came across.

More Updates

I'll constanly implement lot more features whenever something popup in my mind.Follow me on Twitter or LinkedIn to get the latest update about features, code and more. Consider star the repo if you like it.

References

10daysofxamarin's People

Contributors

shankarmadeshvaran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jon-kim

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.