Comments (8)
支持大佬 加油
from scene.
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.
大佬牛批!
from scene.
大佬加油哈,等着你的路由呢~
from scene.
这个是不是跟telegram中的思路一样,telegram也是完全抛弃了官方的fragment,自己抽象了fragment(基于view),然后控制生命周期,然后对应的dialog和其他view也是重新写了一套逻辑。但是这样也会引入新的问题,官方的出一些库,如lifecycle,hilt甚至与kotlin协程框架,都得自己去做适配,成本太高了
from scene.
这个是不是跟telegram中的思路一样,telegram也是完全抛弃了官方的fragment,自己抽象了fragment(基于view),然后控制生命周期,然后对应的dialog和其他view也是重新写了一套逻辑。但是这样也会引入新的问题,官方的出一些库,如lifecycle,hilt甚至与kotlin协程框架,都得自己去做适配,成本太高了
若不是 Fragment 坑太多,又何苦如此。。。
from scene.
android 强推的compose screen + 单activity 这种做法怎么样
from scene.
android 强推的compose screen + 单activity 这种做法怎么样
我还没怎么调研这种玩法
from scene.
Related Issues (20)
- SceneContainerActivity透明主题 HOT 4
- need release resources on OnDestroyView? HOT 4
- Viewpager2 adapter HOT 2
- Why not using material components? HOT 1
- Deep linking? HOT 1
- Demo singleTask 用法和singleTop 一样啊,不会清除要启动的sense 栈上面的sense HOT 1
- scene跨进程打开另外一个页面 可以解决白屏问题吗? HOT 5
- 出现空指针 HOT 2
- 出现崩溃 HOT 2
- 如何在Scene里面监听按键 HOT 1
- 无法拉取新版本更新依赖的问题。 HOT 8
- 关于权限请求的问题 HOT 1
- 觉得这个项目和Jetpack Compose 很适合一起使用 HOT 1
- 结合ViewBinding使用的回收时机 HOT 1
- 绑定到Fragment时onViewCreated生命周期 HOT 5
- JCenter deprecated HOT 1
- Compose兼容 HOT 8
- 项目编译不过 HOT 2
- BottomNavigationViewScene的底部menu点击事件回调能否传出来? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scene.