package com.example.android.miwok; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; public class WordAdapter { @Override public View getView(int position, View conertView, ViewGroup parent){ return super.getView(position, converView, parent); } }
<?xml version="1.0" encoding="utf-8"?> <ListView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/list" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.example.android.miwok.NumbersActivity"/>
public class ColorsActivity extends AppCompactActivity { @Override protected void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); setContextView(R.layout.word_list); } }