This file has been truncated, but you can view the full file.
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
curl 'http://localhost:9000/services/documentservice/api/dms-erra/draft' \ | |
-X 'PUT' \ | |
-H 'Accept: application/json, text/plain, */*' \ | |
-H 'Accept-Language: en-US,en;q=0.9,id-ID;q=0.8,id;q=0.7' \ | |
-H 'Connection: keep-alive' \ | |
-H 'Content-Type: multipart/form-data; boundary=----WebKitFormBoundarynuhuOJtTiACsWqUr' \ | |
-H 'Cookie: access_token=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX25hbWUiOiIzMTAzMTQ1Iiwic2NvcGUiOlsib3BlbmlkIl0sImV4cCI6MTY4NjU1NjM2NiwiaWF0IjoxNjg2NTU2MDY2LCJhdXRob3JpdGllcyI6WyJST0xFX1VTRVIiLCJST0xFX1JFU0VBUkNIX1JFUE9SVCJdLCJqdGkiOiJXWUhWUGh3VURmamIyNVBYVzVBZXNGbElIdmciLCJjbGllbnRfaWQiOiJ3ZWJfYXBwIn0.X-okDr5rftMGgsBxN8SgEgk78vT6uebHgQJOFc5cXLXLN7RnNIgOmRyQ5rPEIMPAWL5eN8UotKBMhqJIX6yIQoH-wZo82TPxglmE0sAPjllTzdyhYJi2DqZ7n8_hbivQZK01rNksITumPofWqrFvn--8-753J0I2dxGPdVbRfojjEl6S9Z7I0Qw24swk21ug60Hcqc0MgO_zJTJZCgE9plnaKUgn9HDmep9vNfKIodLjFXfcqrGLBRM10C4wH2rhka3V4Xaqx8Z48TeH8pJa4kNmAPIh3FHfL5W12YM6N9E5Cj8Vt1Lz_du-YYF-Ss0A7DCttFwNlVgpkaJnboM80w; session_token=eyJhbGciOiJSUzI1NiIsInR5cCI6I |
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.mukminullah.testinterview | |
import androidx.appcompat.app.AppCompatActivity | |
import android.os.Bundle | |
import android.text.Editable | |
import android.text.TextWatcher | |
import android.util.Log | |
import androidx.recyclerview.widget.LinearLayoutManager | |
import kotlinx.android.synthetic.main.activity_main.* | |
import com.androidnetworking.AndroidNetworking |
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.mukminullah.testinterview | |
import android.view.LayoutInflater | |
import android.view.View | |
import android.view.ViewGroup | |
import android.widget.TextView | |
import androidx.recyclerview.widget.RecyclerView | |
class AdapterData: RecyclerView.Adapter<AdapterData.MyViewHolder>() { |
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.mukminullah.testinterview | |
import com.google.gson.annotations.SerializedName | |
data class DataUser( | |
@SerializedName("total_count") | |
val totalCount: Int? = null, | |
@SerializedName("incomplete_results") | |
val incompleteResults: Boolean? = null, | |
@SerializedName("items") |
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 class NestedWebView extends WebView implements NestedScrollingChild { | |
private int mLastY; | |
private final int[] mScrollOffset = new int[2]; | |
private final int[] mScrollConsumed = new int[2]; | |
private int mNestedOffsetY; | |
private NestedScrollingChildHelper mChildHelper; | |
public NestedWebView(Context context) { | |
this(context, null); | |
} |
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
function doGet(request){ | |
//initialize the spreadsheet id | |
var ss = SpreadsheetApp.openById(''); //Fill the ID | |
//get the column data | |
var data = ss.getDataRange().getValues(); | |
//initialize the variable of 'data' rows | |
var jsonArray = []; |
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
//the function of this class is for customing and creating padding or margin for the recyclerview | |
public class RecyclerViewMargin extends RecyclerView.ItemDecoration { | |
//column is for accomodate the number of columns | |
int columns; | |
//margin is for accomodate the size of margin | |
int margin; | |
public RecyclerViewMargin(int margin, int columns) { | |
//passing the margin from margin that defined outside to inside |
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.mukminullah.ecommerce; | |
import android.app.Dialog; | |
import android.app.Dialog; | |
import android.content.Context; | |
import android.graphics.Color; | |
import android.graphics.drawable.ColorDrawable; | |
import android.view.Window; | |
import android.view.WindowManager; |
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
@Override | |
protected void onSaveInstanceState(Bundle outState) { | |
super.onSaveInstanceState(outState); | |
outState.putString("reply_text", mReplyTextView.getText().toString()); | |
} |
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
@Override | |
protected void onSaveInstanceState(Bundle outState) { | |
super.onSaveInstanceState(outState); | |
outState.putString("reply_text", mReplyTextView.getText().toString()); | |
} |
NewerOlder