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.app.Activity; | |
import android.app.Application; | |
import android.content.Context; | |
import android.content.SharedPreferences; | |
import android.os.Bundle; | |
import android.preference.PreferenceManager; | |
/** | |
* Created by NaRan on 23,Sep,2018. | |
* Copyright (c). All rights reserved. |
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
private ProgressBarAnimation progressBarAnimation; | |
progressBar = (ProgressBar) findViewById(R.id.progress_bar); | |
progressBarAnimation = new ProgressBarAnimation(vhHeaderTwo.progressBar, 0, Integer.parseInt(studentAttendance.getTotal().getPresentDays())); | |
progressBar.setMax(Integer.parseInt(studentAttendance.getTotal().getOperatingDays())); | |
progressBarAnimation.setDuration(800); | |
progressBarAnimation.setInterpolator(new AnticipateInterpolator()); | |
progressBar.startAnimation(progressBarAnimation); | |
progressBar.getProgressDrawable().setColorFilter(Color.parseColor(primaryColor), PorterDuff.Mode.SRC_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
import android.graphics.Rect; | |
import android.support.v7.widget.RecyclerView; | |
import android.view.View; | |
/** | |
* Created by NaRan on 02,May,2018. | |
* Copyright (c) inGrails Pvt. Ltd. All rights reserved. | |
* [email protected] | |
**/ |
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
/* Copyright 2013 Google Inc. | |
Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0.html */ | |
package com.example.latlnginterpolation; | |
import android.animation.ObjectAnimator; | |
import android.animation.TypeEvaluator; | |
import android.animation.ValueAnimator; | |
import android.annotation.TargetApi; | |
import android.os.Build; |
NewerOlder