String[] words = {"cat", "dog", "man"};  
List<String> wordList = Arrays.asList(words);  

final ArrayList<String> rows = new ArrayList<String>(Arrays.asList(getResources().getStringArray(R.array.safe_search_list)));

resource 定義

    <string-array name="safe_search_list">
        <item>active</item>
        <item>moderate</item>
        <item>off</item>
    </string-array>

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

© 2024 Falco Tech Blog Suffusion theme by Sayontan Sinha