Android Studio 創建工具類的使用

1.新建一個As項目 2.在新建一個Module 3.在工具類Model創建一個類和方法 4.在需要引用的項目添加model 5.在主程序添加引用工具類model 6.注意的是可能兩個sdk版本不一致導致報錯。 7.主程序使用model的方法 test test=new test(); test.Printing(MainActivity.this);
相關文章
相關標籤/搜索