Back to project page android-sdk.
The source code is released under:
Copyright (c) 2013 Adcash OU. All rights reserved under Creative Commons Attribution 3.0 Unported http://creativecommons.org/licenses/by/3.0/ Redistribution and use in source and binary forms, with or...
If you think the Android project android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.adcash.mobileads.factories; //from www .j a va 2s.c om import android.content.Context; import android.view.View; import com.adcash.mobileads.AdConfiguration; import com.adcash.mobileads.ViewGestureDetector; public class ViewGestureDetectorFactory { protected static ViewGestureDetectorFactory instance = new ViewGestureDetectorFactory(); @Deprecated // for testing public static void setInstance(ViewGestureDetectorFactory factory) { instance = factory; } public static ViewGestureDetector create(Context context, View view, AdConfiguration adConfiguration) { return instance.internalCreate(context, view, adConfiguration); } protected ViewGestureDetector internalCreate(Context context, View view, AdConfiguration adConfiguration) { return new ViewGestureDetector(context, view, adConfiguration); } }