原创 recycleView的適配器

recycleView 多佈局加載 package soexample.umeng.com.recycleview_demo_day13.adapter; import android.support.annotation.No

原创 動畫專欄----長時間更新

Activity 的切換動畫 在Android 5.0(API 21) 後系統內置了 Activity 之間的切換動畫,而且非常炫酷。 在兩個Activity之間切換,我們一般會寫出類似下面的代碼: Intent intent=

原创 徹底解決enableAapt2 的問題

The option 'android.enableAapt2' is deprecated and should not be used anymore. Use 'android.enableAapt2=true' to re

原创 關於 Caused by: org.a.a.e: Subscriber class com.xxx.xxx.activity.MainActivity and its super class

BUG 記錄 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx.xxxx/com.xxx.xxxx.activity.MainAc

原创 Android 實用控件的列表

Android 實用控件的列表前記NO.1 AutoCompleteTextView尾記 前記 最近要要進行一次總結,總結新遇到的 實用的控件 本博客持續更新… NO.1 AutoCompleteTextView 這是在一次高德地

原创 Java 獲取指定日期的前一週

之前找了好多沒有發現有這樣的操作,故今天創造出來便於記錄,學習。 public static String getlastweek (String time) throws java.text.ParseException {

原创 獲取當前時間所在的週期中的所有時間

// 獲取當前時間 Date date = new Date(System.currentTimeMillis()); String format = simpleD

原创 高德地圖的踏坑之路-no non-static method 問題的修復

2019-05-17 12:09:14.011 25016-26452/? A/com.bjxf.ms: thread.cc:2172] Throwing new exception 'no non-static method "

原创 More than one file was found with OS independent path 'META-INF/proguard/androidx-annotations.pro'

今天遇到了一個問題 More than one file was found with OS independent path 'META-INF/proguard/androidx-annotations.pro' 意思是 找

原创 是時候騷一下了

// nHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHn. // .MS?MMMMMMMMMMMMMMMMMM?MM~MMMMMMMMMSHMMMMM

原创 demo

MVP 插件的使用 https://blog.csdn.net/qq_35070105/article/details/69663298 網絡請求方式的一系列 myapiservice retrofitUtils package

原创 FragmentPagerAdapter 與FragmentStatePagerAdapter 的區別

FragmentPagerAdapter FragmentPagerAdapter 繼承自pagerAdapter 該類更專注於每一頁均爲Fragment 的情況,該類內的每一個生成的Fragment 都將保存在內存之中,因此適用於

原创 ExpandableListView 設置全部展開 不能收放

// 第一次加載就展開所有的子類 for (int i = 0; i <list.size(); i++) { expend.expandGroup(i); }

原创 用Retrofit+Rxjava上傳圖片支持多張圖片的上傳

1.這是一個接口 @POST Observable<ResponseBody> Image(@Url String url, @HeaderMap Map<String,Object> headermap,@Body

原创 RecycleView打造懸浮 吸頂效果

先上效果 導入依賴 implementation 'com.android.support:recyclerview-v7:28.0.0' implementation 'com.gavin.com.library:sticky