This file contains 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.corewillsoft.loansdeposits.ui.widget; | |
import android.annotation.TargetApi; | |
import android.content.Context; | |
import android.content.res.Resources; | |
import android.graphics.RectF; | |
import android.os.Build; | |
import android.text.Layout.Alignment; | |
import android.text.StaticLayout; | |
import android.text.TextPaint; |
This file contains 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.corewillsoft.loansdeposits.ui.widget; | |
import android.animation.Animator; | |
import android.animation.Animator.AnimatorListener; | |
import android.animation.AnimatorSet; | |
import android.animation.ObjectAnimator; | |
import android.content.Context; | |
import android.graphics.drawable.GradientDrawable; | |
import android.support.v7.internal.widget.ThemeUtils; | |
import android.util.AttributeSet; |
This file contains 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
/** | |
* @author "Sumtsov Vlad" | |
* idicates when user clicked on out of range of all activity edittexts | |
*/ | |
import java.util.ArrayList; | |
import java.util.List; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.view.MotionEvent; |
This file contains 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 android.animation.ArgbEvaluator; | |
import android.os.Handler; | |
import android.support.v4.view.ViewPager; | |
import static android.support.v4.view.ViewPager.SCROLL_STATE_IDLE; | |
import static com.corewillsoft.loansdeposits.ui.utils.SwipeDirectionDetector.Direction.LEFT; | |
import static com.corewillsoft.loansdeposits.ui.utils.SwipeDirectionDetector.Direction.RIGHT; | |
public abstract class ColorChangeEvaluatorListener implements ViewPager.OnPageChangeListener { |
This file contains 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.corewillsoft.usetool.ui.fragments; | |
import android.content.Context; | |
import android.content.SharedPreferences; | |
import android.content.res.Configuration; | |
import android.content.res.Resources; | |
import android.os.Bundle; | |
import android.preference.PreferenceFragment; | |
import android.text.TextUtils; | |
import android.view.LayoutInflater; |
This file contains 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.corewillsoft.usetool.utils; | |
import android.app.Activity; | |
import android.content.SharedPreferences; | |
import android.content.res.Resources; | |
import android.os.Handler; | |
import com.corewillsoft.usetool.ui.fragments.LanguagesFragment; | |
import com.google.inject.Inject; |
This file contains 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 android.support.v4.view.ViewPager; | |
/** | |
* Created by vlad on 7/20/13. | |
*/ | |
public class SimplePageChangedListener implements ViewPager.OnPageChangeListener { | |
private ViewPager.OnPageChangeListener listener; | |
private boolean pageChanged; |
This file contains 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
#kryo | |
-dontwarn sun.reflect.** | |
-dontwarn java.beans.** | |
-keep,allowshrinking class com.esotericsoftware.** { | |
<fields>; | |
<methods>; | |
} | |
-keep,allowshrinking class java.beans.** { *; } | |
-keep,allowshrinking class sun.reflect.** { *; } | |
-keep,allowshrinking class com.esotericsoftware.kryo.** { *; } |
This file contains 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.aliens.utils; | |
import android.graphics.ColorFilter; | |
import android.graphics.LightingColorFilter; | |
import android.graphics.drawable.Drawable; | |
import android.graphics.drawable.StateListDrawable; | |
/** | |
* Created by vlad on 20.01.15. | |
*/ |
This file contains 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.foreigngirlfriend.utils.recyclerview; | |
import android.support.v7.widget.RecyclerView; | |
import android.view.View; | |
public abstract class RecyclerViewAdapter<VH extends RecyclerView.ViewHolder> extends RecyclerView.Adapter<VH> { | |
private OnItemClickListener listener; | |
public boolean isEmpty() { | |
return getItemCount() == 0; |