原创 左右聯動列表-關鍵代碼
render(): React.Node { return ( <VirtualizedSectionList {...this.props} ref={this._captureRef}
原创 react native 刷新index.android.bundle命令行
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/i
原创 retrofit2 多文件上傳
@Multipart @POST("xxxxxx") Call<XXXX> upload(@Part List<MultipartBody.Part> files); List<File> files = new ArrayList<
原创 Json重新設置key
let tempArr = list.map((item, index) => { let tempData = {}; tempData.key = item.type_name;
原创 Android權限
屬性 說明 android.permission.ACCESS_CHECKIN_PROPERTIES 允許讀寫訪問 “properties”表在checkin數據庫中,改值可以修改上傳 android.permission.ACCESS_
原创 文章標題
Activity: Intent跳轉傳遞參數, Intent intent = new Intent(LoginActivity.this, HomeActivity.class); inten
原创 Android6.0以上版本打電話獲取權限
if (ActivityCompat.checkSelfPermission(this, Manifest.permission.CALL_PHONE) != PackageManager.PERMISSION_GRANTED) {
原创 Android顯示具體位置地圖
SDKInitializer.initialize(getApplicationContext()); setContentView(R.layout.aty_map); map = (MapView) findViewById(R.