View Test Put Volley
private void publishProfileDetails(){
final ProgressDialog updateProgress = ProgressDialog.show(this, "Updating Your Details", "Please Wait", false);
try{
JSONObject params = new JSONObject();
params.put("first_name",firstName.getText().toString());
params.put("last_name",lastName.getText().toString());
params.put("age",age.getText().toString());
if(maleBtn.isChecked())
View UiStateController.java
package com.rajesh.retrofit2example;
import android.os.Bundle;
import android.support.annotation.AnimRes;
import android.support.annotation.IntDef;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
View SquareAndroid.xml
<code_scheme name="SquareAndroid">
<option name="USE_SAME_INDENTS" value="true" />
<option name="IGNORE_SAME_INDENTS_FOR_LANGUAGES" value="true" />
<option name="AUTODETECT_INDENTS" value="false" />
<option name="OTHER_INDENT_OPTIONS">
<value>
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="TAB_SIZE" value="2" />
<option name="USE_TAB_CHARACTER" value="false" />
View how-to-be-a-great-software-developer
http://peternixey.com/post/83510597580/how-to-be-a-great-software-developer
View MyViewPager
public class MyViewPager extends ViewPager {
private BgDrawableAdapter mAdapter;
private Paint mFgPaint;
private Bitmap mBitmap, mNextBitmap;
private Paint mBgPaint;
private int mAlpha;
public MyViewPager(Context context) {
super(context);