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
# Add this global rule | |
-keepattributes Signature | |
# This rule will properly ProGuard all the model classes in | |
# the package com.yourcompany.models. Modify to fit the structure | |
# of your app. | |
# -keepclassmembers class com.mypackagename.myapplication.** { | |
# *; | |
# } |
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.zuhaibahmad.upworkevaluationproject.utils; | |
import android.content.Context; | |
import android.support.v4.view.PagerAdapter; | |
import android.support.v4.view.ViewPager; | |
import android.util.AttributeSet; | |
import android.view.View; | |
import android.view.ViewGroup; | |
/** |
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
image: jangrewe/gitlab-ci-android | |
stages: | |
- build | |
- test | |
before_script: | |
- export GRADLE_USER_HOME=$(pwd)/.gradle | |
- chmod +x ./gradlew |
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
# Built application files | |
*.apk | |
*.ap_ | |
# Files for the ART/Dalvik VM | |
*.dex | |
# Java class files | |
*.class |
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.zuhaibahmad.cricketer.utils; | |
import com.github.mikephil.charting.data.Entry; | |
import com.github.mikephil.charting.formatter.ValueFormatter; | |
import com.github.mikephil.charting.utils.ViewPortHandler; | |
/** | |
* Created by Zuhaib Ahmad on 1/9/2017. | |
* | |
* Value formatter for MP Android Charts library to display integer values instead of floating point |
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.android.tresmark.utils; | |
import android.content.Context; | |
import android.support.v7.widget.AppCompatAutoCompleteTextView; | |
import android.util.AttributeSet; | |
/** | |
* Created by Zuhaib on 5/2/2017. | |
* <p> | |
* Variation of {@link android.widget.AutoCompleteTextView} that displays suggestions even in |
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.mindscollide.baycho.utils; | |
import android.text.SpannableStringBuilder; | |
import android.text.Spanned; | |
import android.text.method.DigitsKeyListener; | |
/** | |
* Created by Zuhaib on 5/11/2017. | |
* <p> | |
* Text {@link android.text.InputFilter} to limit the number of decimal places |
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.zuhaibahmad.template.utils | |
import android.content.Context | |
import android.graphics.Bitmap | |
import android.media.MediaScannerConnection | |
import android.os.Environment | |
import android.util.Log | |
import android.view.View | |
import com.itextpdf.text.Document | |
import com.itextpdf.text.DocumentException |
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.content.Context | |
import android.support.v7.widget.RecyclerView | |
import android.util.AttributeSet | |
import android.view.View | |
/** | |
* Created by zuhaib.ahmad on 2/22/2018. | |
* | |
* Simple RecyclerView subclass that supports providing an empty view (which | |
* is displayed when the adapter has no data and hidden otherwise). |
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.annotation.SuppressLint | |
import android.content.Context | |
import android.support.v4.view.ViewPager | |
import android.util.AttributeSet | |
import android.view.MotionEvent | |
import android.view.animation.DecelerateInterpolator | |
import android.widget.Scroller | |
/** | |
* Created by Zuhaib Ahmad on 30/7/2018. |
OlderNewer