Git Product home page Git Product logo

android-base's People

Contributors

aguskoll avatar agustinkoll-rootstrap avatar amaury901130 avatar camilamoscatelli avatar devops-rs avatar guillepijuan avatar hrodrick avatar jjszolno avatar lmiotti avatar marcossalto avatar mato2593 avatar sebalopez avatar ximenaperez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-base's Issues

Permission Manager

Description

  • Add the app permission manager for Activities or Fragments.

Remove IDE generated files from git

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)

Update project dependencies

Description

  • Primarily update Kotlin and Hilt because they are outdated (and Hilt's version is alpha).
  • Secondly update the rest of the dependencies and fix update conflicts to keep the whole project up to date and to avoid doing it by hand in new projects that start from this template.

Add Tests

Objective

  • Add unit test and UI test.

Add Kotlin Coroutines

  • Adding Coroutines to the networking layer.
  • Use coroutines with async task, bitmaps/videos manipulation, Room data base.

About pre-commit hook

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

Add CI tool

Description

  • Select which CI tool is more convenient for this project
  • Add the selected CI tool ๐Ÿ˜‚

Migrate LiveData to Kotlin Flows

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

Incorporate a Fragment flow with Navigation and Safe Args

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.