Giter Site home page Giter Site logo

ldralighieri / corbind Goto Github PK

View Code? Open in Web Editor NEW
495.0 5.0 24.0 28.76 MB

⚡ Kotlin Coroutines binding APIs for Android UI widgets from the platform and support libraries

Home Page: https://ldralighieri.github.io/Corbind

License: Apache License 2.0

Kotlin 100.00%
kotlin kotlin-coroutines android android-library kotlin-extensions kotlin-library coroutines binding flow android-ui-widgets

corbind's Introduction

Google DevLibrary Medium Stories

GitHub Status

corbind's People

Contributors

ifeomaro avatar ldralighieri avatar zacsweers 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  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  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

corbind's Issues

[Corbind 1.2.0] - Roadmap

new corbind module extensions

  • TimePicker timeChangeEvents
  • DatePicker dateChangeEvents
  • NumberPicker:
    • scrollStateChanges
    • valueChangeEvents
  • CalendarView dateChangeEvents
  • DatePickerDialog dateSetEvents

new material module extensions

  • BottomNavigationView itemReselections
  • MaterialCardView checkedChanges
  • MaterialButton checkedChanges
  • MaterialButtonToggleGroup
    • buttonCheckedChanges
    • buttonCheckedChangeEvents
  • TextInputLayout:
    • endIconChanges
    • startIconClicks
    • startIconLongClicks
    • endIconClicks
    • endIconLongClicks

improvements

  • add more examples

combine only work on the last item

i tried to used same code as example does and i found that if i have phone and password in the form only disable button when the last item in combine method is not match the condition
if the last item matches the condition and i changed phone for wrong phone number for example it doesn't disable button

here is my code

combine( phoneEt.textChanges().map { Patterns.PHONE.matcher(it).matches() }, passowrdEt.textChanges().map { it.length >= 4 }, transform = { phone, password -> phone && password } ).onEach { loginBtn.isEnabled = it }.launchIn(CoroutineScope(coroutineContext))

Sources jars are not published

FYI, these appear to be missing from publishing and result in only being able to view decompiled class files when consuming

[Corbind 1.1.0] - Roadmap

  • SwipeDismissBehavior dragStateChanges
  • BottomSheetBehavior:
    • slides
    • stateChanges
  • Snackbar shown
  • ChipGroup checkedChanges (only in single selection mode)
  • ViewPager2:
    • pageScrollEvents
    • pageScrollStateChanges
    • pageSelections
  • fix sources jars
  • dokka

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.