• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  package com.xtremelabs.robolectric.shadows;
2  
3  import android.app.Dialog;
4  import android.preference.PreferenceScreen;
5  
6  import com.xtremelabs.robolectric.internal.Implementation;
7  import com.xtremelabs.robolectric.internal.Implements;
8  
9  @Implements(PreferenceScreen.class)
10  public class ShadowPreferenceScreen extends ShadowPreferenceGroup {
11  
12  	private Dialog dialog;
13  
14  	@Implementation
getDialog()15  	public Dialog getDialog() {
16  		return dialog;
17  	}
18  
setDialog(Dialog dialog)19  	public void setDialog(Dialog dialog) {
20  		this.dialog = dialog;
21  	}
22  }
23