rootstrap / android-base Goto Github PK
View Code? Open in Web Editor NEWRootstrap Android Base project
Home Page: https://rootstrap.com
Rootstrap Android Base project
Home Page: https://rootstrap.com
In the repository are some files which were auto-generated by Android Studio (or another tool) and sometimes they change based on user configuration or IDE version.
These values and their updates can cause merge conflicts or lead to unexpected errors on some user machines, so to avoid them we need to verify which auto generated files are being tracked in Git and remove them, after that we need to add the corresponding rules into the .gitignore file
Based on the comment by @marcossalto in #51 (comment)
Add explanation on how to configure and use Fastlane
Could someone please share your thoughts about why this was implemented this way?
We faced that when we add a new commit to a branch we end up with all the code modified and sometimes the changes that we added are deleted. This can be prevented by adding the flag --no-verify
when commiting but it makes no sense to have a tool configured and then avoid using it on purpose.
Other findings were that the steps ktlintFormat
and ktkint
when excecuted separately doesn't make any modifications to the code, so the issue could be made by the stash commands.
I'd like to open a discuss here about how to improve this
As discussed on the Android's Roundtable of 01/12/2021 it seems good to migrate the current LiveData implementations to Kotlin flows, which is the new official way of sharing reactive information between activities and viewmodels.
It brings many benefits like chaining operations, cold and hot flows, defining when we want to react to changes (for example, if we want to react only when the view is resumed or when it is started), independence from Android (we can use it in MPP projects), etc.
As an additional point new libraries built on kotlin are recommended to use with Flows, an example of it is the Android architecture's Paging Library.
Kotlin flows on Android : https://developer.android.com/kotlin/flow
As discussed on the Android Roundtable of 01/12/2021 there will be very useful to create an application's flow using a single activity structure with a bunch of fragments for each section on the flow, using the Navigation component and SafeArgs plugin to navigate through the flow. And a shared and specifics viewModels with some logic.
The objetive is to have a common way of app's navigation which sohuld be easy to replicate/modify for the specific project's requirements. So every project which starts from this base can have the same standard for navigation.
Navigation: https://developer.android.com/guide/navigation
SafeArgs: https://developer.android.com/guide/navigation/navigation-pass-data
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.