ScanIt icon indicating copy to clipboard operation
ScanIt copied to clipboard

Implementing MVVM architecture

Open mishraaditya595 opened this issue 4 years ago • 17 comments

The project does not follow any particular Android architecture. It would be great if anyone can implement MVVM (Model - View - ViewModel) architecture components in the project.

mishraaditya595 avatar Jan 15 '21 11:01 mishraaditya595

I would like to work on this issue but can u explain what exactly I need to do.

Amit366 avatar Jan 16 '21 04:01 Amit366

If you go through the code, you will be able to see that the code is not structured. Classes/Activities/Fragments are scattered randomly. I want the MVVM (Model-View-ViewModel) structural design pattern to be implemented in the project so that the entire code base gets organised.

Models hold application data. They’re usually structs or simple classes. Views display visual elements and controls on the screen. They’re typically subclasses of UIView. View models transform model information into values that can be displayed on a view. They’re usually classes, so they can be passed around as references.

For more info on MVVM, refer the link

mishraaditya595 avatar Jan 16 '21 05:01 mishraaditya595

Can i work on this project

kenkirito avatar Jan 16 '21 08:01 kenkirito

Do you mean this issue? @kenkirito

mishraaditya595 avatar Jan 16 '21 11:01 mishraaditya595

Yes

kenkirito avatar Jan 16 '21 11:01 kenkirito

Ok! Assigning the issue. @kenkirito

mishraaditya595 avatar Jan 16 '21 11:01 mishraaditya595

Hey @kenkirito, any updates?

mishraaditya595 avatar Jan 18 '21 17:01 mishraaditya595

Sorry I am busy. I will get back to you tomorrow for updates

kenkirito avatar Jan 18 '21 19:01 kenkirito

Any updates?

mishraaditya595 avatar Jan 21 '21 03:01 mishraaditya595

Working on it

kenkirito avatar Jan 21 '21 16:01 kenkirito

I will like to be assign to this task, i will like to implement with navigation component with this architecture if that's fine.

alvinmarshall avatar Mar 10 '21 21:03 alvinmarshall

Glad to see your interest @Bik-Krlvn. You can start working on it.

mishraaditya595 avatar Mar 11 '21 04:03 mishraaditya595

Glad to see your interest @Bik-Krlvn. You can start working on it.

Ok

alvinmarshall avatar Mar 11 '21 06:03 alvinmarshall

I'm having this trouble with this repo and gradle for awhile now, kinda thought i could make it work buh still no head way, I manage to make it run by turning of firebase deps but can't build my code neither is the layout xml files opening. please you can unassign me till I manage my issues properly.

err_2 layout_err

alvinmarshall avatar Mar 13 '21 21:03 alvinmarshall

I believe you did not clone the repo properly in your system. Try it once again.

mishraaditya595 avatar Mar 14 '21 04:03 mishraaditya595

Hey @Bik-Krlvn, what is the status?

mishraaditya595 avatar Mar 24 '21 06:03 mishraaditya595

Please assign me this issue under GSSOC'23.

priyanshu942 avatar Jun 07 '23 06:06 priyanshu942