There are 2 fragments: in the first fragment, when you click on the button, an entry is created in the table with some filled fields, and in the second fragment, I want to continue editing this entry. where is the mistake?
DataBaseHelper db= new DataBaseHelper(getActivity()); Order order = new Order("photo1","photo2",null,null,null,null,null,null,null,null,null); db.addApplicaions(order); ID=order.get_id(); then transfer the data to another fragment:
bundle.putInt("id",ID); checkData.setArguments(bundle); and in the second I get them, but the trouble is that here: ID=order.get_id(); always value 0, as I understand it
addApplicaions()method - temq