Question: private void getColors ( ) { colorInput = findViewById ( R . id . addItemColorTextInputEditText ) ; if ( colorInput . getText ( ) !

private void getColors(){
colorInput = findViewById(R.id.addItemColorTextInputEditText);
if (colorInput.getText()!= null){
String addME = String.valueOf(colorInput.getText());
ArrayList addColor = new ArrayList<>();
addColor.add(addME);
clothing.setColors(addColor);
}
} this is under AddItem.java I need tests done on this method and please do it under AddItemTest.java

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!