Comments (4)
看了下实现,会阻塞。针对alpha做了调整,目前自己项目用了自己实现的了。
from alpha.
看了下实现,会阻塞。针对alpha做了调整,目前自己项目用了自己实现的了。
老哥。咋实现的?可否开源下。加个QQ?863597281
https://github.com/YummyLau/Anchors
from alpha.
看了下实现,会阻塞。针对alpha做了调整,目前自己项目用了自己实现的了。
Project.Builder builder1 = new Project.Builder(PROJECT_1, testTaskFactory); builder1.add(TASK_10); builder1.add(TASK_11).dependOn(TASK_10); builder1.add(TASK_12).dependOn(TASK_11); builder1.add(TASK_13).dependOn(TASK_12); Project project1 = builder1.build(); AnchorsManager.getInstance().debuggable(true) .addAnchors(TASK_10) .start(project1);
问题1:
start()
方法如果传入的是project对象。那么运行起来会有报空指针,日志如下Attempt to invoke virtual method 'android.util.SparseArray com.effective.android.anchors.TaskRuntimeInfo.getStateTime()' on a null object reference at com.effective.android.anchors.LogTaskListener.logTaskRuntimeInfoString(LogTaskListener.java:28) at com.effective.android.anchors.LogTaskListener.onFinish(LogTaskListener.java:23) at com.effective.android.anchors.Task.toFinish(Task.java:140) at com.effective.android.anchors.Task.run(Task.java:101)
最新版本已经全部支持。
from alpha.
关闭这个问题的原因是没使用它了吗?
from alpha.
Related Issues (14)
- This repository is empty.
- AlphaManager里面的content会有内存泄露情况 HOT 2
- 通过读取“/proc/${pid}/cmdline” 获取的进程的名称不准确 HOT 1
- 怎样设置在所有的初始化任务都完成后,再结束Application.onCreate()? HOT 2
- dl.bintray.com无法访问了
- Alpha 和 ARouter 有冲突吗
- Failed to resolve: com.alibaba.android:alpha:1.0.0.1 HOT 5
- 关于 OnTaskFinishListener 执行时刻疑惑 HOT 4
- SplashActivity执行耗时任务 HOT 5
- 关于框架的设计的一些疑惑。 HOT 1
- gradle引入失败 HOT 1
- 和RX对比优势在哪呢? HOT 4
- Handle exception when there is a cycle
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 alpha.