public IVechile mIVechile; public interface IVechile { public void submitCarSuccess(String carId, String plateNo); } @Override public void onAttach(Activity activity) { fueltypes = FuelType.getList(activity); try { mIVechile = (IVechile) activity; } catch (Exception e) { // TODO: handle exception } } }
Android Fragment 使用技巧(2)
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:https://www.heiqu.com/728fcfde9223241d7a6af7553f9b82e0.html