I have been tasked with creating a discussion section/ Feeds with Xamarin.Forms.
I have looked for examples and found nothing.
I have to create a section of the app where Users can ask a question and other users can comment and/or like question. I basically want to create something like Facebook Feeds or Stackoverflow but must simpler.
I need some guidence as I am fairly new to Xamarin. I have Generated the Models, And I'm using Web Services.
Any help will be appreciated.
I am not Xamarin Expert but as I understand you need to fetch data continuously(by taking 10 Data item at a time using paging) using your web service and Xamarin.Form, so here are few links which may help you
Now the part applying of like's and comment, check this below link, which is fetching data from Instagram,
http://www.c-sharpcorner.com/article/xamarin-forms-create-instagram-application/
for you instead of fetching data about likes/comments from Instagram fetch it from your database using C# web service
The last part, to save data(Comments/Like) in database you can check this link for it
1. https://msdn.microsoft.com/en-us/magazine/mt736454.aspx
2. https://code.tutsplus.com/tutorials/an-introduction-to-xamarinforms-and-sqlite--cms-23020
With the help of above links, you can first try to get data infinitely in your Xamarin.Form using web service, then fetch Like/comments as in the Instagram example, after that try to save it in the database with the help of the last 2 links
let me know by commenting on answer, if this helps, thanks
Thank you for the help.
Reguarding the saving comments and likes. I am not using a Sqlite DB. i would like to know how to save those comments to a question.
Subscribe to our weekly Newsletter & Keep getting latest article/questions in your inbox weekly