How can I pass a string from an activity to a layout? I can pass arrays from an activity to a layout with the following activity code
ListView remedyList = (ListView) findViewById(R.id.ListView_Symptom);
String remedyArray[] = new String[30];
ArrayAdapter<String> adapt = new ArrayAdapter<String>(this, R.layout.menu_item, remedyArray);
remedyList.setAdapter(adapt);
Is there a simpler way to just pass a single string instead of any array of strings, from an activity to a layout?