Skip to content

Instantly share code, notes, and snippets.

View pjakubczyk's full-sized avatar

Przemysław Jakubczyk pjakubczyk

View GitHub Profile
public class RoundImageView extends ImageView {
public RoundImageView(Context context) {
super(context);
}
public RoundImageView(Context context, AttributeSet attrs) {
super(context, attrs);
}
public RoundImageView(Context context, AttributeSet attrs, int defStyleAttr) {
@pjakubczyk
pjakubczyk / build.gradle
Created September 15, 2015 08:00
Groovy for Android latest plugin
// check gradle.properties and build.gradle for common configurations
buildscript {
repositories {
jcenter()
maven {
url "https://jitpack.io"
}
}
dependencies {
def preferencesStoreMock
def "setup"() {
preferencesStoreMock = Mock(PreferencesStore)
def module = generateModule(preferencesStoreMock) as TestModule
DaggerInjector.start(module);
}