vedangj044 / Frisson

Android app to read reports of UFO sightings
5 stars 2 forks source link

Adding View Model #7

Closed vedangj044 closed 3 years ago

vedangj044 commented 3 years ago

I'm submitting a

Current Behaviour:

We have set up the paging data source and added retrofit.

Expected Behaviour:

The next task is to add a view model

Note:

Until now we have followed this tutorial. You can do the same and follow this tutorial for adding a view model.

spacemonkey1101 commented 3 years ago

can I be assigned this issue?

vedangj044 commented 3 years ago

@spacemonkey1101 Hey, if you are working on this issue, I have recently committed the list item UI. We have to use it as the view holder for the recycler view you would create, so implement accordingly, You can have a look in the #5

spacemonkey1101 commented 3 years ago

yeah i will look into it!!

spacemonkey1101 commented 3 years ago

Hey should I add the recyclerView Adapter as well?

vedangj044 commented 3 years ago

As we are using paging we need to use PagingDataAdapter ( and not recylerViewAdapter ). If possible please add it.

I have shared the link to this turorial if u need any help.