/images/avatar.png

markdown不能正常显示xml的源码?

更多分享:www.catbro.cn 这属于markdown解析xml的bug,小技巧,在< 后加个空格即可,如: < android.support.v4.widget.SwipeRefreshLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1"> < android.support.v7.widget.RecyclerView android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" /> <

Glide error cannot be cast to com.bumptech.glide.manager.RequestManagerFragment

更多分享:www.catbro.cn java.lang.ClassCastException: com.bumptech.glide.manager.RequestManagerFragment cannot be cast to com.bumptech.glide.manager.RequestManagerFragment at com.bumptech.glide.manager.RequestManagerRetriever.getRequestManagerFragment(RequestManagerRetriever.java:153) at com.bumptech.glide.manager.RequestManagerRetriever.fragmentGet(RequestManagerRetriever.java:168) at com.bumptech.glide.manager.RequestManagerRetriever.get(RequestManagerRetriever.java:127) at com.bumptech.glide.Glide.with(Glide.java:641) …. at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7225) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 将上下文换成Application的上下文即可

MathJax常用语法

更多分享:www.catbro.cn 基础语法 1、显示公式: 在行中显示的 (inline mode),就用 $...$ , 单独一行显示 (display mode),则用 $$...$$ 2、希腊字母 希腊