原创 第五章:paging使用

效果 引入 api 'com.alibaba:fastjson:1.2.70' //material組件 api 'com.google.android.material:material:1.

原创 第四章:Room數據庫直接存儲對象(二進制數據,滿足app緩存的功能實現)

基本使用請看: 第三章:Room數據庫使用:https://huangxiaoguo.blog.csdn.net/article/details/106430453 構建數據庫字段 /** * 表名 * tabl

原创 uni-app:第三章 模版使用

創建模版 創建components文件夾,在其創建模版 <template> <view> <text>我是test組建{{msg}}</text> <button type="primary" @click="t

原创 第七章:Paging添加header和footer

paging使用:https://huangxiaoguo.blog.csdn.net/article/details/106567399 效果 封裝可添加Header和Footer的BaseAdapter impor

原创 vue-element-admin 模板中解決頁面刷新時vuex存儲的數據消失問題

創建我們直接的store.js const state = { user: { phone: "" }, shopId: "" } export default { name

原创 android MaterialButton的使用

有效解決之前創建大量的shape問題 導入 //material組件 api 'com.google.android.material:material:1.1.0' -使用 <com.google.android.

原创 uni-app:第二章 基本指令學習

<template> <view class="content"> <!-- 1. -》》》》》》基本指令學習 --> <text>我是主頁</text> {{"HUANG"}} <view>{{m

原创 第十章:WorkManager任務使用

引入 //workmanager api 'androidx.work:work-runtime:2.3.4' 創建工作處理器 public class UploadFileWorker

原创 uni-app:第五章 vuex使用 &ajax配置

創建store import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex); export default new Vuex.Store({ state: {

原创 uni-app 商城選擇商品左右菜單聯動效果實現

<template> <view> <view class="ld"> <view class="left"> <scroll-view :scroll-y="true" :scroll-w

原创 android io.socket如何攔截所有監聽事件實現和服務器端anything一樣的事件

重寫OkHttpClient class MyOkHttpClient extends OkHttpClient { @Override public WebSocket newWebSoc

原创 android MemoryFile內存共享

進程之間傳遞數據,由於Binder傳遞數據有限制1M,所以如果遇到大的數據傳遞的時候就需要使用使用到MemoryFile內存共享來解決,最合適不過了 首先,MemoryFile是基於Binder自帶的transact方法進行傳輸數

原创 android aidl使用記錄

兩年不用,突然使用有點蒙了,記錄一下 服務端(提供執行能力的客戶端,即寫service的) 創建aidl類 clean一下項目他會自動創建幫助類 創建服務 public class RemoteService ex

原创 webRTC(十六):webrtc 實現android端對端的視頻互通

效果 服務器的實現 請查看:webRTC(六):webrtc信令服務器實現 web端實現 請查看:webRTC(十):webrtc 實現web端對端視頻 android端實現 引入第三方庫 implementation

原创 webRTC(十九):webrtc 實現web+android 端對端的純文本聊天互通

效果 服務器的實現 請查看:https://huangxiaoguo.blog.csdn.net/article/details/104226077 web端實現 請查看:webRTC(十八):webrtc 實現web端對端的