標籤: 不知道各位童鞋們在開發的過程中有沒有感興趣過ListView是如何?的呢?其實本身ListView的父類AbsListView才是關鍵,但是如果大家看過源碼的話,會發現AbsListView將近7000多行代碼,是不是頭大啊,呵呵,沒事,下面咱們就一起來看看吧。 我們先從類中的常量開始分析: public static final int
標籤:android:editable is deprecated: Use an <EditText> to make it editableandroid:editable is deprecated: Use inputType instead分析:關於EditText控制項的read-only問題,即: 無法通過UI更改其中的內容, 但可以選定部分內容,
標籤:ios viewcontroller 生命週期 原創Blog,轉載請註明出處http://blog.csdn.net/hello_hwc?viewmode=contents所謂的生命週期,也就是幾個函數的調用順序,這裡以用Storyboard來建立一個ViewController為例然後我們測試如下代碼//// ViewController.m//// Created by
標籤:android bluetooth 檔案接收路徑 藍芽接收 修改檔案:packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppReceiveFileInfo.java相關程式碼片段: public static BluetoothOppReceiveFileInfo
標籤:Related to question Excel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example: A -> 1 B -> 2 C -> 3 ... Z -> 26 AA -> 27 AB –> 28
標籤: 今天,遇到一個奇怪的問題,以前也沒有注意,當然很少這樣寫,因為公司項目部分是由外包公司開發的,也沒有仔細的review代碼。由於iOS時間格式為“YYYY-MM-dd”引起時間相差一年,也就是每年的12月29日開始後一周裡如果這樣使用會引起時間相差一年。我查了一下資料,具體事說YYYY代表 “week of year”,yyyy代表calendar year。(細節問題,相信很多人以前都沒注意!)原文: A common