Git Product home page Git Product logo

Comments (8)

Iridescentangle avatar Iridescentangle commented on June 2, 2024

支持大佬 加油

from scene.

qii avatar qii commented on June 2, 2024

jcenter 关门了,以后用 jitpack 好了

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
            implementation 'com.github.bytedance.scene:scene:v1.2.0'
            implementation 'com.github.bytedance.scene:scene_ui:v1.2.0'
            implementation 'com.github.bytedance.scene:scene_navigation:v1.2.0'
           implementation 'com.github.bytedance.scene:scene_shared_element_animation:v1.2.0'
           implementation 'com.github.bytedance.scene:scene_ktx:v1.2.0'
}

现在主要的问题好像是没法拉到源代码,只能反编译的看

from scene.

zombiu avatar zombiu commented on June 2, 2024

大佬牛批!

from scene.

xiaoyaomeng avatar xiaoyaomeng commented on June 2, 2024

大佬加油哈,等着你的路由呢~

from scene.

XuJhin avatar XuJhin commented on June 2, 2024

这个是不是跟telegram中的思路一样,telegram也是完全抛弃了官方的fragment,自己抽象了fragment(基于view),然后控制生命周期,然后对应的dialog和其他view也是重新写了一套逻辑。但是这样也会引入新的问题,官方的出一些库,如lifecycle,hilt甚至与kotlin协程框架,都得自己去做适配,成本太高了

from scene.

qii avatar qii commented on June 2, 2024

这个是不是跟telegram中的思路一样,telegram也是完全抛弃了官方的fragment,自己抽象了fragment(基于view),然后控制生命周期,然后对应的dialog和其他view也是重新写了一套逻辑。但是这样也会引入新的问题,官方的出一些库,如lifecycle,hilt甚至与kotlin协程框架,都得自己去做适配,成本太高了

若不是 Fragment 坑太多,又何苦如此。。。

from scene.

est7 avatar est7 commented on June 2, 2024

android 强推的compose screen + 单activity 这种做法怎么样

from scene.

qii avatar qii commented on June 2, 2024

android 强推的compose screen + 单activity 这种做法怎么样

我还没怎么调研这种玩法

from scene.

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.