This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
@EnableJpaAuditing(dateTimeProviderRef = "dateTimeProvider") | |
@EnableJpaRepositories("com.sample.repository") | |
@EnableTransactionManagement | |
public class DatabaseConfiguration implements EnvironmentAware { | |
private final Logger log = LoggerFactory.getLogger(DatabaseConfiguration.class); | |
private RelaxedPropertyResolver dataSourcePropertyResolver; | |
private RelaxedPropertyResolver slaveDataSourcePropertyResolver; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.XXX.YYY; | |
import android.annotation.SuppressLint; | |
import android.content.Context; | |
import android.support.v4.view.ViewPager; | |
import android.util.AttributeSet; | |
import android.view.GestureDetector; | |
import android.view.MotionEvent; | |
import android.widget.Scroller; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.security.Key; | |
import javax.crypto.Cipher; | |
import javax.crypto.spec.SecretKeySpec; | |
import android.util.Base64; | |
public class AESUtils { | |
private AESUtils() { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class CustomProgressBar { | |
private Dialog dialog; | |
public Dialog show(Context context) { | |
return show(context, null); | |
} | |
public Dialog show(Context context, CharSequence title) { | |
return show(context, title, false); |