原创 js實現webSocket客戶端

js實現webSocket客戶端    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

原创 vs 2017官網下載

https://docs.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes

原创 app 跳轉瀏覽器

//跳轉瀏覽器打開鏈接 final Uri uri = Uri.parse(“www.baidu.com”); final Intent it = new Intent(Intent.ACTION_VIEW, uri); startAc

原创 TextView 修改文本內容化不會馬上生效, 使用監聽 生效執行

TextView mAuthorMessage = findViewById(R.id.authorMessage); mAuthorMessage.setText("XXXXXXXXXXXX"); mAuthorMessage.get

原创 點擊查看全文, 展開全部內容 TextView

<TextView android:id="@+id/authorMessage" android:layout_width="match_parent" android:layout_height="70dp"

原创 Adapter 控件區分單擊,雙擊、子類點擊監聽

ChapterItemAdapter mAdapter = new ChapterItemAdapter(R.layout.item_chapter_item, mData, 1); mAdapter.setOnItemChildCli

原创 手機軟鍵盤監測

EditText etSearch = findViewById(R.id.etSearch); SoftKeyBoardListener.setListener(mActivity, new SoftKeyBoardListener.

原创 cocos2dx-3.x spine換裝

SpineNode.cpp文件 #include "SpineNode.h" #include "SpineUtils.h" using namespace cocos2d; static Vector<Texture2D*>*  _d