Apm29's Studio.

Apm29's Studio.

it's better to burn out than to fade away

SpringFrameWork
SpringFrameWorkIoC container BeanFactory ApplicationContext 初始化IoC Container 1ApplicationContext context = new ClassPathXmlApplicationContext("services.xml", "daos.xml"); 获取Beans 12345678 // create and configure beansApplicationContext context = new ClassPathXmlApplicationContext("s...
在TextView中显示Html格式的文字
在TextView中显示Html格式的文字/图片/超链接简单显示网页形式内容 Html有fromHtml(String, ImageGetter, TagHandler)等多个方法将String对象转换为Spanned对象,而Spanned可以显示各种Span定义的颜色/行为等 TextView的setMovementMethod(MovementMethod movement)方法可以设置自动处理url形式的链接,但是默认是跳转浏览器 图片显示 图片显示需要自己实现Html.ImageGetter类,实现 getDrawable方法把url转换为Drawable返回(这边用了Futu...
RxLifecycle
RxLifecycle:基于第二个事件流(生命周期)来帮助我们自动完成一个序列(sequence) UsageYou must start with an Observable<T> representing a lifecycle stream. Then you use RxLifecycle to binda sequence to that lifecycle. You can bind when the lifecycle emits anything: 123myObservable .compose(RxLifecycle.bind(lifecycle))...
Flutter
FlutterGet Started: Install on WindowsINFO 大部分来自 https://flutter.io Get the Flutter SDK SDKv0.2.8下载地址 Update your path 在window环境变量PATH中添加 flutter\bin, 记得重启电脑后生效 Run flutter doctor 在CMD中执行flutter doctor命令,检测哪些 工具/环境 没有安装 Android setup 一般是AndroidStudio Install Android Studio AndroidStudio S...
avatar
Apm29
It's better to burn out than to fade away
FRIENDS
juejin