drjacky / mvvmtemplate Goto Github PK
View Code? Open in Web Editor NEWAn Android Template with MVVM and Clean Architecture
License: MIT License
An Android Template with MVVM and Clean Architecture
License: MIT License
Getting Could not clone: Drjacky/MVVMTemplate is not a template repository while cloning
Hi Drjacky,
I want to add a foreground location service in my app (which is based on clean architecture MVVM pattern).
I want to know, in which manifest file, do I need to put the location permissions.
I believe it should be in the app module manifest file, but then during runtime, when I will check for the app permissions from my fragment, I need access to my app module (because manifest file with permission is located there).
So, if I tell my presentation module about the app module, this would breach the clean architecture principle.
In my current project:
Domain knows nothing
Data knows about Domain
Presentation knows about Domain
And App knows all the three
Edited: Never mind, I believe we have to add the permission in both the manifests, because:
Thanks again for your repo.
Thanks
Relive
Describe the bug
Showing the loading animation on the loaded list
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Ater following flow, must not see the loading
I don't understand why you have all those folders domain, presentation etc outside the app module, is this project supposed to be opened with Android Studio and work? Because it's not a typical Android project, I'm not being able to simply open it and run it.
Describe the bug
A problem occurred configuring root project 'MVVMTemplate'.
=============================== Gradle Doctor Prescriptions ============================================
| JAVA_HOME is not set. |
| Please set JAVA_HOME so that switching between Android Studio and the terminal does not trigger a fu |
| ll rebuild. |
| To set JAVA_HOME: (using bash) |
| echo "export JAVA_HOME=$(/usr/libexec/java_home)" >> ~/.bash_profile |
| or~/.zshrc
if using zsh. |
| |
========================================================================================================
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
Showing no internet error after rotation
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
After the error screen is gone, we must not see the error screen (without changing any condition) on the other orientation
Screenshots
N/A
Smartphone (please complete the following information):
Additional context
N/A
Please provide a video showcasing how this template can be used. If you really want to use this as a template it should be easy to use another REST API by simply changing some data structures, layouts being used, etc., as this project is so massive (unbelieable how much work you put in it), it is difficult to find where to start and where to change something.
How can i inject main activity in fragment?
@Inject
lateinit var mainActivity: MainActivity
Do I need to create a separate base use case that doesn't expect params to be passed, or just pass Void as param? what would be your way to handle that ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.