1 package com.xtremelabs.robolectric.shadows; 2 3 import android.widget.Spinner; 4 import com.xtremelabs.robolectric.internal.Implementation; 5 import com.xtremelabs.robolectric.internal.Implements; 6 7 @SuppressWarnings({"UnusedDeclaration"}) 8 @Implements(Spinner.class) 9 public class ShadowSpinner extends ShadowAbsSpinner { 10 11 private CharSequence prompt; 12 13 @Implementation setPrompt(CharSequence prompt)14 public void setPrompt(CharSequence prompt) { 15 this.prompt = prompt; 16 } 17 18 @Implementation getPrompt()19 public CharSequence getPrompt() { 20 return prompt; 21 } 22 } 23