This file contains hidden or 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.anta40.app.countrycruddemo; | |
| import android.view.LayoutInflater; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import android.widget.Button; | |
| import android.widget.TextView; | |
| import androidx.annotation.NonNull; | |
| import androidx.recyclerview.widget.RecyclerView; |
This file contains hidden or 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.anta40.app.countrycruddemo; | |
| import android.content.ContentValues; | |
| import android.content.Context; | |
| import android.database.Cursor; | |
| import android.database.sqlite.SQLiteDatabase; | |
| import android.database.sqlite.SQLiteOpenHelper; | |
| import java.util.ArrayList; | |
| import java.util.List; |
This file contains hidden or 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.anta40.app.countrycruddemo; | |
| public class Country { | |
| private int id; | |
| private String name; | |
| private int population; | |
| public Country(int id, String name, int population){ | |
| this.id = id; |
This file contains hidden or 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"?> | |
| <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_margin="5dp" | |
| app:cardBackgroundColor="@color/white" | |
| app:cardCornerRadius="4dp" | |
| app:cardElevation="4dp" | |
| app:cardMaxElevation="10dp" |
This file contains hidden or 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 androidx.annotation.NonNull; | |
| import androidx.annotation.Nullable; | |
| import androidx.appcompat.app.AppCompatActivity; | |
| import android.app.LoaderManager; | |
| import android.content.Loader; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import android.view.View; | |
| import android.widget.Button; |
This file contains hidden or 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.content.AsyncTaskLoader; | |
| import android.content.Context; | |
| import android.util.Log; | |
| public class BigDataLoader extends AsyncTaskLoader<BigData> { | |
| public BigDataLoader(Context context) { | |
| super(context); | |
| Log.d("test", "...BigDataLoader."); | |
| } |
This file contains hidden or 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.util.Log; | |
| import java.util.ArrayList; | |
| import java.util.Random; | |
| public class BigData { | |
| static int msDataIndex = 0; | |
| int mDataIndex = 0; | |
| String mDataName = ""; |
This file contains hidden or 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
| { | |
| "data": [{ | |
| "tanggal": "2022-09-17", | |
| "detail": [{ | |
| "id": 1, | |
| "saving_id": 1 | |
| }, | |
| { | |
| "id": 2, | |
| "saving_id": 2 |
This file contains hidden or 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.anta40.webviewtest; | |
| import androidx.appcompat.app.AppCompatActivity; | |
| import androidx.swiperefreshlayout.widget.SwipeRefreshLayout; | |
| import android.os.Bundle; | |
| import android.webkit.WebSettings; | |
| import android.webkit.WebView; | |
| import android.webkit.WebViewClient; |
This file contains hidden or 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
| environment: | |
| sdk: ">=2.12.0 <3.0.0" | |
| flutter: ">=1.17.0" | |
| dependencies: | |
| cupertino_icons: ^1.0.2 | |
| custom_radio_grouped_button: ^2.0.0 | |
| dart_nats: ^0.3.5 | |
| dash_chat: ^1.1.16 | |
| flutter: |