arieshoo / fastlib Goto Github PK
View Code? Open in Web Editor NEW一个Android项目级快速开发框架,节约大部分写常用功能时间以实现更多项目业务功能及体验上的优化。使用说明见wiki
Home Page: https://github.com/AriesHoo/FastLib/wiki
License: Apache License 2.0
一个Android项目级快速开发框架,节约大部分写常用功能时间以实现更多项目业务功能及体验上的优化。使用说明见wiki
Home Page: https://github.com/AriesHoo/FastLib/wiki
License: Apache License 2.0
用你封装这个base,在没有用viewpager的时候 如何让一个fragment 点击重新走一次生命周期呢,相当于不缓存重新架加载。
这是什么原因,我用到eventbus的方法都用了权限public,所有用到的地方都出现这个问题,如果在该类中加上@subscribe(threadMode = ThreadMode.MAIN)
public void getEventBus(Integer integer) {} 就都不报错了,但是不能所有的都加这个呀,能给出个解决办法吗?网上都是让加注解+public,这些我都加了
版本:2.2.13_beta13
加载更多的时候 明明有数据 却显示了“没有更多数据” 停留了一会又显示了数据
软键盘会将底部菜单顶上去,添加android:windowSoftInputMode="adjustPan" 无效,继承FastTitleActiviy会出现这个问题,继承默认AppCompatActivity不会有问题,是不是哪里设置了相关的代码
app启动太慢的原因是什么
KeyboardHelper持有activity引用,导致内存泄漏
锤子pro2虚拟键隐藏显示的时候,主页内容布局不能不能布满整个屏幕,同时首页tab不会处于屏幕的最下端
博主,请教下,当继承FastTitleActivity后,若想禁止滑动功能,怎么设置,现在是默认可以滑动的
大神,我看在baseActivity中,代码虽然做处理了,但实际上当recycleView只占屏幕一半时,布局加载错误时,StatusLayoutManager显示的内容快到底部了,并没有在recycleview 所占位置内 居中显示。。。。。
这种样式,可以监听到中间➕的点击事件
图片链接:http://pics.lxpeng.net/303F678A-CBF3-4BD2-94D6-E70F14AAAB40.png
博主,比如我在某个页面里,点击想跳转到主页中“我的”tab下,怎么设置啊
学习了三天你的框架 very good的框架 受益匪浅
这个版本软键盘收起的时候,虽然软键盘隐藏了但是键盘区域还停留在页面上,布局会被顶上去,收起键盘后布局不能回到原来的位置,底部多出了软键盘弹出时的区域,去不掉 (小米8,mix2s),beta6_16没有出现这种问题,(Title+EditText示例 同样有这样的问题)
如题
java.lang.NoClassDefFoundError: cn.bingoogolapple.swipebacklayout.BGASwipeBackLayout$AccessibilityDelegate
我用这个库的时候,为啥会有这个错误
使用的AgentWeb加载https路径 会卡在最后的位置。
Justson/AgentWeb#618
大佬可以参考下
你好,这个项目的底部虚拟键咋会是透明的
首页底部导航栏可以添加消息提醒像微信有红点显示和数字显示
默认进入的时候位置没问题,点击输入框弹出键盘以后 导航栏的高度就变了 多了大概一个虚拟键的位置
webview加载部分网页时下拉网页时会与SmartRefreshLayout冲突 直接触发了下拉刷新 (只有部分网页会出现 例如 百度网页中的新闻页)
首页底部导航栏中每个Tab距离顶部很近,怎么设置显示中间呢
可以建立个qq群吗,讨论下问题
请教下,该如何处理
在主页 点击两次退出程序 为什么这个主页的fragment不走onDestory和onDestoryview
闪退原因Caused by: android.util.AndroidRuntimeException: requestFeature() must be called before adding content
先断网,切成无网络页面时,再连接网络,点击页面无法刷新
下载源码下载半天
Unable to create converter for class
可是我确实看到作者在FastRetrofit中添加了转换器
private FastRetrofit() {
sClientBuilder = new OkHttpClient.Builder();
sClientBuilder.addInterceptor(mHeaderInterceptor);
sRetrofitBuilder = new Retrofit.Builder()
.addConverterFactory(GsonConverterFactory.create())
.addCallAdapterFactory(RxJava2CallAdapterFactory.create());
setTimeout(mDelayTime);
FastMultiUrl.getInstance().with(sClientBuilder);
}
搞了一下午,我头都大了
demo有fragment重叠现象``
这个库的tab就是使用的那个https://github.com/AriesHoo/TabLayout 库
MainActivity 有个
@OverRide
public void setTabLayout(CommonTabLayout tabLayout) {
}
可以设置属性
Originally posted by @AriesHoo in #21 (comment)
private FastRetrofit() {
sClientBuilder = new OkHttpClient.Builder();
_**sClientBuilder.sslSocketFactory(MySSLSocketFactory.getSSLSocketFactory())
.hostnameVerifier(new HostnameVerifier() {
@Override
public boolean verify(String hostname, SSLSession session) {
HostnameVerifier hv = HttpsURLConnection.getDefaultHostnameVerifier();
return hv.verify("app.91q.com", session);
}
})
.addInterceptor(mHeaderInterceptor).build();**_
sRetrofitBuilder = new Retrofit.Builder()
.addConverterFactory(GsonConverterFactory.create())
.addCallAdapterFactory(RxJava2CallAdapterFactory.create());
setTimeout(mDelayTime);
FastMultiUrl.getInstance().with(sClientBuilder);
}
这个版本弹出软键盘再收起软键盘后 多了一个导航栏的高度 怎么解决
不支持平板使用吗 或者说 不支持切横屏?
集成之后,虚拟导航栏的三个按钮是带边框的透明状态,想设置成黑色的,该怎么修改
不使用你那个fast_layout_title_bar的时候,内容顶到状态栏,设android:fitsSystemWindows="true"无效,是我哪里设置的问题吗?
能否兼容4.3 或者4.4的,项目有很多老年人用
博主,这个项目网络框架可以详细些么,比如多写几个案例,登录之类啊,感觉扩展有些麻烦
如题
FastLifecycleCallbacks这个类对自定义的FragmentActivity里有requestWindowFeature这个方法会闪退报requestFeature() must be called before adding content
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.