Coder Social home page Coder Social logo

babel-cdm / ema Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 1.0 1.09 MB

EMA is a library based on MVVM architecture (Navigation and Android Architecture components), Kotlin coroutines, and dependency injection based on KODEIN

Kotlin 97.50% FreeMarker 2.50%
android android-architecture android-library jetpack kotlin kotlin-android kotlin-library

ema's People

Contributors

babel-cdm avatar babeljmartin avatar carmabs avatar jeluchu avatar julianparrillababel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jeluchu

ema's Issues

Viewbinding support

Removing the view inflating (activities and fragments) is needed to allow view binding. Cause view binding needs to inflate the view by itself. A view can not be inflated twice cause throws duplicate ids error.

Ema base bottom sheet dialog variable behavior

Add a variable in the EmaBottomDialogData for selecting the bottom sheet behavior (STATE_DRAGGING, STATE_SETTLING, STATE_EXPANDED, STATE_COLLAPSED, STATE_HIDDEN, or STATE_HALF_EXPANDED) and override the onShow function for setting this value.
Currently, the behavior is STATE_COLLAPSED by default and it should be changed.

Prevent dialogs "isAdded" crash

When you try show a dialog that extends from other equals, the crash "fragment already added" appears.

In EMA, if a generic error dialog appears twice, now it crash.

Also must be important show dialogs one by one, not all at once

Split onNormalState to update desired parts

Split onNormalState in 3 parts to update just view, just data or both when is required. In that way will be not necessary update main parts as recyclerViews when is not necessary.

Clean onAlternative state method

In some cases, the alternative state gets stuck in one point, that forces create a new state to clean.

How reproduce issue:

Show dialog with onAlternative, navigate up, go back and dialog is show again.

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.