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
alert.getButton(AlertDialog.BUTTON1).setEnabled(false); | |
alert.getButton(AlertDialog.BUTTON1).setEnabled(false); |
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
<?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" |
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
<?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" |
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 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; |
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.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; |
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
published programatically with java |
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
public boolean onOptionsItemSelected(MenuItem item) { | |
switch (item.getItemId()) { | |
case R.id.menu_login: | |
String token=gauth.getAccessToken(); | |
if(token==null) doLogin(); | |
else mPerformEdit.setDefaultText("Has Login, Token: "+token); | |
break; | |
case R.id.menu_settings: | |
if(gauth.getAccessToken()!=null){ | |
doPost(); |
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
test file 1, generate at 3 Jul 2017 11.18.36 |
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 id.agusibrahim.test.*; | |
// test file 1, generate at 3 Jul 2017 11.21.30 - 1499055690358 |