• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.xtremelabs.robolectric.shadows;
2 
3 import android.widget.GridView;
4 import android.widget.ListAdapter;
5 import com.xtremelabs.robolectric.internal.Implementation;
6 import com.xtremelabs.robolectric.internal.Implements;
7 import com.xtremelabs.robolectric.internal.RealObject;
8 
9 @SuppressWarnings({"UnusedDeclaration"})
10 @Implements(GridView.class)
11 public class ShadowGridView extends ShadowAdapterView {
12     @RealObject private GridView realGridView;
13 
14     @Implementation
setAdapter(ListAdapter adapter)15     public void setAdapter(ListAdapter adapter) {
16         super.setAdapter(adapter);
17     }
18 }
19