Skip to content

Instantly share code, notes, and snippets.

View agusibrahim's full-sized avatar
🌴
On vacation

Agus Ibrahim agusibrahim

🌴
On vacation
View GitHub Profile
published programatically with java
package com.zadi.volley;
/**
* Created by Muh. Zadi on 6/9/2017.
*/
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
@agusibrahim
agusibrahim / ConnectionStatus.java
Last active July 3, 2017 00:45
Check Network Connectivity available or not
package ai.agusibrahim.kepooto;
import java.net.Socket;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import android.os.AsyncTask;
import ai.agusibrahim.kepooto.ConnectionStatus.*;
import android.content.Context;
import android.net.ConnectivityManager;
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
android:background="#E01C54"
android:layout_width="match_parent">
<View
android:layout_height="match_parent"
android:layout_width="match_parent"
@agusibrahim
agusibrahim / cuaca_materialDesign.xml
Created November 23, 2016 12:27
design by Agus Ibrahim
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
android:background="#E01C54"
android:layout_width="match_parent">
<View
android:layout_height="match_parent"
android:layout_width="match_parent"
alert.getButton(AlertDialog.BUTTON1).setEnabled(false);
alert.getButton(AlertDialog.BUTTON1).setEnabled(false);
alert.getButton(AlertDialog.BUTTON1).setEnabled(false);

alert.getButton(AlertDialog.BUTTON1).setEnabled(false);

progressDialog.hide();
progressDialog.hide();