Android/APP
ArrayAdapter.createFromResource
와인한잔의여유
2011. 7. 27. 11:19
public static ArrayAdapter<CharSequence> createFromResource (Context context, int textArrayResId, int textViewResId)
Since: API Level 1
Creates a new ArrayAdapter from external resources. The content of the array is obtained through getTextArray(int)
.
Parameters
context | The application's environment. |
---|---|
textArrayResId | The identifier of the array to use as the data source. |
textViewResId | The identifier of the layout used to create views. |
Returns
- An ArrayAdapter
.