jumeirdgroup / router Goto Github PK
View Code? Open in Web Editor NEW一款单品、组件化、插件化全支持的Andoid端路由框架。
Home Page: https://juejin.im/post/5a37771f6fb9a0450e7636e0
一款单品、组件化、插件化全支持的Andoid端路由框架。
Home Page: https://juejin.im/post/5a37771f6fb9a0450e7636e0
有时候需要在登录成功后刷新界面
在Utils 类里边 isHttp(String scheme)方法
public boolean isHttp(String scheme) {
return scheme.equalsIgnoreCase("http") || scheme.equalsIgnoreCase("https");
}
就是这个 当有时候 获取的uri不是很规范 比如没有scheme是 或者比如 www.baidu.com这样写,而不是http://www.baidu.com时 ,会直接crash掉
所以建议写成这样:
public boolean isHttp(String scheme) {
return "http".equalsIgnoreCase(scheme) || "https".equalsIgnoreCase(scheme);
}
InstanceRouter这个类里的extra在createInstance方法里被忽略掉了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.