In Android Studio (using java) for app development, I would pass String values or arrayList values from one view to another using intents. For example, I would write:
Intent myIntent = new Intent(Activity1.this, Activity2.class);
String thisString = “PassOnThisString”;
startActivity(myIntent); //(or startActivityforResult(myIntent, 1000)
On the second view, I would write:
Intent intent = getIntent();
String importantString = intent.getExtra(“ExtraCode”);
One of my goals is to be select several rows from a “MenuItem” DataGrid and upon selection, add those items to a “CustomorCart” data model in the form of relationships. Is this possible?
Thank you for your help!