Esempio n. 1
0
        private void addAdaptedListsToInputAdapter(InputAdapterDto input, List <String> listColors,
                                                   List <String> listRemovedColors)
        {
            List <List <String> > listAdapter = new List <List <String> >();

            listAdapter.Add(listColors);
            listAdapter.Add(listRemovedColors);

            input.setValue(listAdapter);
        }
Esempio n. 2
0
        public void execute(Input input)
        {
            String text         = (String)input.getValue();
            Input  inputAdapter = new InputAdapterDto();

            List <String> listWords        = convertTextToList(text);
            List <String> listWithoutEmpty = getListWithoutEmpty(listWords);

            inputAdapter.setValue(listWithoutEmpty);

            performResponse(inputAdapter);
        }