原创 Java 基礎 A類集合存的數據B類調用

1.新建一個Callback抽象類 public interface Callback { Map<String, Object> a() ; } 2. b繼承Callback public class b implemen

原创 Java集合史上最全

詳情網站 https://blog.csdn.net/zhangqunshuai/article/details/80660974?utm_medium=distribute.pc_relevant.none-task-blog-Blog

原创 Java 基礎 HashMap + Iterator遍歷集合

1.Iterator遍歷集合 public static void main(String[] args){ Map<String,String> map = new HashMap<String, String>();

原创 kotlin RecyclerView 顯示後臺數據 參考

第一步新建Activity RecyclerView提供了三種佈局管理器: LinerLayoutManager 以垂直或者水平列表方式展示Item GridLayoutManager 以網格方式展示Item StaggeredG

原创 Android +kotlin Banner 輪播廣告 獲取後臺數據

  參考網站: (1) https://www.jianshu.com/p/4f0903469bc8 (2) https://blog.csdn.net/YuEOrange/article/details/78779877#com

原创 kotlin 教程 for 循環適配器列表數據

for(bean in textAdapter!!.list){ if (bean.egoodsStatus ==

原创 Android-Retrofit+RxJava 網絡請求的區別詳情

Retrofit和RxJava基礎案例 RxJava優點:延遲指定時間後,發送1個數值,每隔指定時間就發送事件 等等。。。 詳情網站參考:https://www.jianshu.com/p/0d1fb9f08a34   Retrofit除

原创 Android Retrofit 登錄功能上傳數據後臺

/** * 登錄按鈕 */ public void submitClick(final View view) { if (!InputCheck.checkPwd(loginVM.getPwd())) {

原创 kotlin AppBarLayout+CollapsingToolbarLayout+Toolbar+RecyclerView 滾動摺疊

1:沒有滾動前  2:滾動中  2:向上滾動完成效果     <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.andro

原创 Android Handler 防止內存泄漏 內存泄漏的幾種方式

參考網站:https://blog.csdn.net/Gods_magic/article/details/85255860  內存泄漏的危害  內存泄漏的危害就是會使虛擬機佔用內存過高,導致OOM(內存溢出),使程序異常。 對於一個An

原创 wanAndroid客戶端 Flutter版

https://github.com/CCY0122/WanAndroid_Flutter/tree/master/android 官方https://flutterchina.club/   包含 wanAndroid已開放API的全部

原创 Android BroadcastReceiver 短信監聽

1.第一步   <uses-permission android:name="android.permission.READ_SMS"></uses-permission> <uses-permission android:name=

原创 Android kotlin項木

https://github.com/git-xuhao/KotlinMvp https://github.com/guofudong/KotlinAndroid https://github.com/wuapnjie/PoiShuhui

原创 Android kotlin Retrofit2 刪除單個數據請求

//刪除收貨人信息 const val RECEIPT_DELETE = "/api/receipt/{rid}" @DELETE(Constant.URL.RECEIPT_DELETE) fun deleteAddress(@Pa

原创 Java 基礎ArrayList() 和List如何一邊遍歷,一邊刪除 Iterator使用

List如何一邊遍歷,一邊刪除 Iterator使用詳情網站:https://blog.csdn.net/zwwhnly/article/details/104987143?utm_medium=distribute.pc_relev