我試圖通過使用putexra我正在geeting錯誤如何模型數據傳遞到下一個活動
Dtr_Transfermation_vo dtr_transfermation_vo=new Dtr_Transfermation_vo();
dtr_transfermation_vo.setFEEDER(stringFeeds);
dtr_transfermation_vo.setSTRUCTER_CODE(stringStructerCode);
dtr_transfermation_vo.setSSNO(stringSSNO);
dtr_transfermation_vo.setLANMARK(stringLandMark);
dtr_transfermation_vo.setLOADTYPE(stringLoadType);
dtr_transfermation_vo.setPHASE(stringPhase);
dtr_transfermation_vo.setCAPACITY_KVA(stringCapacity);
dtr_transfermation_vo.setMANIFACTURE_DATE(stringPtrDate);
i.putExtra("data",dtr_transfermation_vo);
startActivity(i);
你得到什麼錯誤? –
你是否傳遞Object? –
dtr_transfermation_vo你傳球嗎?它是你的模型的對象? –