資源簡介
該demo包含了藍牙的搜索、連接、發送、接收模塊,這是簡單的示例而已,大牛請無視我的存在。
代碼片段和文件信息
//?Generated?code?from?Butter?Knife.?Do?not?modify!
package?com.lanjian.bluetoothapplication;
import?android.support.annotation.CallSuper;
import?android.support.annotation.UiThread;
import?android.view.View;
import?android.widget.Button;
import?android.widget.EditText;
import?android.widget.ListView;
import?android.widget.TextView;
import?butterknife.Unbinder;
import?butterknife.internal.DebouncingonclickListener;
import?butterknife.internal.Utils;
import?java.lang.IllegalStateException;
import?java.lang.Override;
public?class?MainActivity_ViewBinding?implements?Unbinder?{
??private?MainActivity?target;
??private?View?view2131165268;
??private?View?view2131165283;
??private?View?view2131165295;
??@UiThread
??public?MainActivity_ViewBinding(MainActivity?target)?{
????this(target?target.getWindow().getDecorView());
??}
??@UiThread
??public?MainActivity_ViewBinding(final?MainActivity?target?View?source)?{
????this.target?=?target;
????View?view;
????view?=?Utils.findRequiredView(source?R.id.openBluetooth_btn?“field?‘openBluetoothBtn‘?and?method?‘onViewClicked‘“);
????target.openBluetoothBtn?=?Utils.castView(view?R.id.openBluetooth_btn?“field?‘openBluetoothBtn‘“?Button.class);
????view2131165268?=?view;
????view.setonclickListener(new?DebouncingonclickListener()?{
??????@Override
??????public?void?doClick(View?p0)?{
????????target.onViewClicked(p0);
??????}
????});
????view?=?Utils.findRequiredView(source?R.id.searchDevice_btn?“field?‘searchDeviceBtn‘?and?method?‘onViewClicked‘“);
????target.searchDeviceBtn?=?Utils.castView(view?R.id.searchDevice_btn?“field?‘searchDeviceBtn‘“?Button.class);
????view2131165283?=?view;
????view.setonclickListener(new?DebouncingonclickListener()?{
??????@Override
??????public?void?doClick(View?p0)?{
????????target.onViewClicked(p0);
??????}
????});
????target.connectStateTv?=?Utils.findRequiredViewAsType(source?R.id.connectState_tv?“field?‘connectStateTv‘“?TextView.class);
????view?=?Utils.findRequiredView(source?R.id.sendMessage_btn?“field?‘sendMessageBtn‘?and?method?‘onViewClicked‘“);
????target.sendMessageBtn?=?Utils.castView(view?R.id.sendMessage_btn?“field?‘sendMessageBtn‘“?Button.class);
????view2131165295?=?view;
????view.setonclickListener(new?DebouncingonclickListener()?{
??????@Override
??????public?void?doClick(View?p0)?{
????????target.onViewClicked(p0);
??????}
????});
????target.sendMessageTv?=?Utils.findRequiredViewAsType(source?R.id.sendMessage_tv?“field?‘sendMessageTv‘“?TextView.class);
????target.deviceLv?=?Utils.findRequiredViewAsType(source?R.id.device_lv?“field?‘deviceLv‘“?ListView.class);
????target.sendMessageEt?=?Utils.findRequiredViewAsType(source?R.id.sendMessage_et?“field?‘sendMessageEt‘“?EditText.class);
??}
??@Override
??@CallSuper
??public?void?unbind()?{
????MainActivity?target?=?this.target;
????if?(target?==?null)?throw?new?IllegalStateException(“Bindings?already?cleared.“);
????this.target?=?null;
????target.openBluetoothBtn?=?null;
????target.sea
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????15??2018-06-01?14:35??BluetoothApplication\.git\COMMIT_EDITMSG
?????文件????????316??2018-06-01?14:35??BluetoothApplication\.git\config
?????文件?????????73??2018-06-01?14:35??BluetoothApplication\.git\desc
?????文件?????????23??2018-06-01?14:35??BluetoothApplication\.git\HEAD
?????文件????????478??2018-06-01?14:35??BluetoothApplication\.git\hooks\applypatch-msg.sample
?????文件????????896??2018-06-01?14:35??BluetoothApplication\.git\hooks\commit-msg.sample
?????文件????????189??2018-06-01?14:35??BluetoothApplication\.git\hooks\post-update.sample
?????文件????????424??2018-06-01?14:35??BluetoothApplication\.git\hooks\pre-applypatch.sample
?????文件???????1642??2018-06-01?14:35??BluetoothApplication\.git\hooks\pre-commit.sample
?????文件???????1348??2018-06-01?14:35??BluetoothApplication\.git\hooks\pre-push.sample
?????文件???????4898??2018-06-01?14:35??BluetoothApplication\.git\hooks\pre-reba
?????文件????????544??2018-06-01?14:35??BluetoothApplication\.git\hooks\pre-receive.sample
?????文件???????1239??2018-06-01?14:35??BluetoothApplication\.git\hooks\prepare-commit-msg.sample
?????文件???????3610??2018-06-01?14:35??BluetoothApplication\.git\hooks\update.sample
?????文件???????6095??2018-06-01?14:35??BluetoothApplication\.git\index
?????文件????????240??2018-06-01?14:35??BluetoothApplication\.git\info\exclude
?????文件????????159??2018-06-01?14:35??BluetoothApplication\.git\logs\HEAD
?????文件????????159??2018-06-01?14:35??BluetoothApplication\.git\logs\refs\heads\master
?????文件????????141??2018-06-01?14:35??BluetoothApplication\.git\logs\refs\remotes\origin\master
?????文件?????????46??2018-06-01?14:35??BluetoothApplication\.git\ob
?????文件????????108??2018-06-01?14:35??BluetoothApplication\.git\ob
?????文件?????????60??2018-06-01?14:35??BluetoothApplication\.git\ob
?????文件?????????91??2018-06-01?14:35??BluetoothApplication\.git\ob
?????文件???????2879??2018-06-01?14:35??BluetoothApplication\.git\ob
?????文件??????48585??2018-06-01?14:35??BluetoothApplication\.git\ob
?????文件?????????71??2018-06-01?14:35??BluetoothApplication\.git\ob
?????文件?????????65??2018-06-01?14:35??BluetoothApplication\.git\ob
?????文件????????343??2018-06-01?14:35??BluetoothApplication\.git\ob
?????文件???????5045??2018-06-01?14:35??BluetoothApplication\.git\ob
?????文件????????125??2018-06-01?14:35??BluetoothApplication\.git\ob
............此處省略1701個文件信息
- 上一篇:Android-SDK25.0.0
- 下一篇:w3c幫助文檔
評論
共有 條評論