Skip to content

Instantly share code, notes, and snippets.

💞
NZ

Alfian Yusuf Abdullah alfianyusufabdullah

💞
NZ
Block or report user

Report or block alfianyusufabdullah

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Example.java
public class KamusAdapter extends RecyclerView.Adapter<KamusAdapter.KamusHolder>{
private ArrayList<KamusModel> dataKamus;
private Context context;
private LayoutInflater mInflater;
public KamusAdapter(Context context, ArrayList<KamusModel> dataKamus){
this.context = context;
this.dataKamus = dataKamus;
mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View MainActivity.java
package com.alfianyusufabdullah.infofilm.ui.activity;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.NavigationView;
import android.support.v4.app.Fragment;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.widget.SearchView;
import android.support.v7.widget.Toolbar;
View MatchDetailPresenter.kt
package com.alfianyusufabdullah.footballmatchschedule.ui.matchdetail
import android.util.Log
import com.alfianyusufabdullah.footballmatchschedule.BuildConfig
import com.alfianyusufabdullah.footballmatchschedule.database.DatabaseHelper
import com.alfianyusufabdullah.footballmatchschedule.database.database
import com.alfianyusufabdullah.footballmatchschedule.entity.MatchDetail
import com.alfianyusufabdullah.footballmatchschedule.entity.MatchDetailResponse
import com.alfianyusufabdullah.footballmatchschedule.entity.MatchFavorite
import com.alfianyusufabdullah.footballmatchschedule.entity.TeamInfoResponse
View FavoriteFragment.java
package me.papercom.imxd.Fragment;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.CursorLoader;
View PotensiActivity.java
package com.company.whitelord.sibumdes;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.widget.Toast;
import com.company.whitelord.sibumdes.Adapter.AdapterPotensi;
View activity_main,xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
View SessionManager.kt
package com.alfianyusufabdullah.produkhalal
import android.content.Context
import android.content.SharedPreferences
class SessionManager(context: Context) {
private var sharedPreferences: SharedPreferences = context.getSharedPreferences("PREF", Context.MODE_PRIVATE)
fun saveKey(key: String) {
View MainActivity.java
package com.example.harokidz.katalogfilm;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.provider.Settings;
import android.support.annotation.NonNull;
import android.support.design.widget.BottomNavigationView;
import android.support.v4.app.Fragment;
View MainActivity.java
package com.alfianyusufabdullah.firebaseauthwithgoogle;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v4.app.FragmentActivity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
View backup.csv
We can't make this file beautiful and searchable because it's too large.
1,1,بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ,Dengan menyebut nama Allah Yang Maha Pemurah lagi Maha Penyayang.
1,2,الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ,Segala puji bagi Allah
1,3,الرَّحْمَٰنِ الرَّحِيمِ,Maha Pemurah lagi Maha Penyayang.
1,4,مَالِكِ يَوْمِ الدِّينِ,Yang menguasai di Hari Pembalasan.
1,5,إِيَّاكَ نَعْبُدُ وَإِيَّاكَ نَسْتَعِينُ,Hanya Engkaulah yang kami sembah
1,6,اهْدِنَا الصِّرَاطَ الْمُسْتَقِيمَ,Tunjukilah kami jalan yang lurus
1,7,صِرَاطَ الَّذِينَ أَنْعَمْتَ عَلَيْهِمْ غَيْرِ الْمَغْضُوبِ عَلَيْهِمْ وَلَا الضَّالِّينَ,(yaitu) Jalan orang-orang yang telah Engkau beri nikmat kepada mereka; bukan (jalan) mereka yang dimurkai dan bukan (pula jalan) mereka yang sesat.
2,1,بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ الم,Alif laam miim.
2,2,ذَٰلِكَ الْكِتَابُ لَا رَيْبَ ۛ فِيهِ ۛ هُدًى لِلْمُتَّقِينَ,Kitab (Al Quran) ini tidak ada keraguan padanya; petunjuk bagi mereka yang bertakwa
You can’t perform that action at this time.