Coder Social home page Coder Social logo

支持 jetpack compose about xxpermissions HOT 6 CLOSED

mcxinyu avatar mcxinyu commented on June 9, 2024
支持 jetpack compose

from xxpermissions.

Comments (6)

mcxinyu avatar mcxinyu commented on June 9, 2024

虽然 compose 有 accompanist/permissions,但是没有新权限自动兼容旧设备这么贴心。

from xxpermissions.

getActivity avatar getActivity commented on June 9, 2024
image

小伙子,我理解你是想要一个 State 值来记录权限授予的状态,然后对 View 和 Module 进行双向绑定对吧?

from xxpermissions.

mcxinyu avatar mcxinyu commented on June 9, 2024

对的哈,我用咋们这个框架,还要在外面维护一个state。

from xxpermissions.

getActivity avatar getActivity commented on June 9, 2024

compose-permissions-demo.zip

from xxpermissions.

getActivity avatar getActivity commented on June 9, 2024

小伙子,我咨询了一个对 Compose 熟悉的朋友,和聊了一下里面的细节,另外聊了一下 Compose 的现状和未来,就我目前了解的来看,Compose 还没有成为主流的趋势,所以经过深思熟虑,暂时不考虑针对 Compose 进行额外的适配。

from xxpermissions.

getActivity avatar getActivity commented on June 9, 2024

小伙子,目前你可以先封装一个 state 来使用,目前这个看来不算太麻烦,可以先这样做。

from xxpermissions.

Related Issues (20)

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.