
org.robolectric.shadows.ShadowInputEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework Show documentation
Show all versions of framework Show documentation
An alternative Android testing framework.
The newest version!
package org.robolectric.shadows;
import android.view.InputDevice;
import android.view.InputEvent;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
@Implements(InputEvent.class)
public class ShadowInputEvent {
protected InputDevice device;
@Implementation
public InputDevice getDevice() {
return device;
}
public void setDevice(InputDevice device) {
this.device = device;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy