I have this ArrayList:
List<String> zainteresowanka = new ArrayList<String>();
zainteresowanka.add("Java");
zainteresowanka.add("Platforma .NET (C#)");
zainteresowanka.add("Android");
zainteresowanka.add("iOS");
zainteresowanka.add("Windows Phone");
zainteresowanka.add("Technologie WWW (HTML, CSS, JavaScript)");
zainteresowanka.add("Testowanie aplikacji");
zainteresowanka.add("Projektowanie aplikacji");
zainteresowanka.add("Analiza Biznesowa");
zainteresowanka.add("Inne");
And those are things that someone can choose what he likes. If he choose "Inne", then he must enter some other thing that he likes that this ArrayList doesn't contain.
It is written to database like that:
- Platforma .NET (C#) 2. iOS 3. Windows Phone
in one string.
The method that saves it to a string looks like this:
zainteresowaniaa = zainteresowaniaa + " " + licz + ". " + zainteresowanka.get(wyboor);
licz = licz + 1;
What I need to do is to search the list based on the ArrayList zainteresowanka, so I can choose for example "Java, iOS" and I get everyone who had choosen those ones.
How can I do this?