File tree 2 files changed +2
-54
lines changed
2 files changed +2
-54
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -142,43 +142,7 @@ public void turnOn(View view) {
142
142
BA .disable ();
143
143
}
144
144
145
- public class displayAdapter extends BaseAdapter {
146
- private ArrayList <String > list ;
147
-
148
- public displayAdapter (ArrayList <String > input ) {
149
- this .list = input ;
150
- }
151
-
152
- @ Override
153
- public int getCount () {
154
- // TODO Auto-generated method stub
155
- return list .size ();
156
- }
157
-
158
- @ Override
159
- public Object getItem (int arg0 ) {
160
- // TODO Auto-generated method stub
161
- return list .get (arg0 );
162
- }
163
-
164
- @ Override
165
- public long getItemId (int position ) {
166
- // TODO Auto-generated method stub
167
- return position ;
168
- }
169
-
170
- @ Override
171
- public View getView (int position , View view , ViewGroup parent ) {
172
- if (view == null ) {
173
- LayoutInflater inflater = LayoutInflater .from (parent
174
- .getContext ());
175
- view = inflater .inflate (R .layout .display , parent , false );
176
- }
177
-
178
- TextView tv = (TextView ) view .findViewById (R .id .nameText );
179
- tv .setText (list .get (position ));
180
- return null ;
181
- }
145
+
182
146
183
- }
147
+
184
148
}
You can’t perform that action at this time.
0 commit comments