類似Lazy Android的插件,根據layout的xml文件自動生成findViewById代碼

自己開發了一個插件鏈接:http://awjiyvyzrt.l5.yunpan.cn/lk/Q96Iqf76iSfnJ

最好自己學習使用androidannotations:http://androidannotations.org/

直接放到plugins目錄下面 ,如果有dropins目錄,下面新建plugins目錄然後放到下面。

功能圖示:
1.選擇layout文件,前提是該layout對應的activity已經存在!


2.右鍵選擇 AndroidTools -> init android views


3.執行成功提示


4.代碼已經插入,自己format下 ctrl+alt+f。或者用save action自動format下

ps:save action


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章