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.ensias.iosm18.chatmvc.managers | |
import com.google.firebase.auth.FirebaseAuth | |
import com.google.firebase.database.* | |
import com.ensias.iosm18.chatmvc.interfaces.FirebaseCallBacks | |
import java.util.HashMap | |
/** | |
* Created by Sam on 12/04/18. | |
*/ |
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 kmzstudio.realanime; | |
import android.os.Bundle; | |
import android.support.annotation.Nullable; | |
import android.support.v4.app.Fragment; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
public class SampleSlide extends Fragment { |
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
private void rateusdialog() { | |
/* Init dialog */ | |
myDialog = new Dialog(HomeActivity.this); | |
assert myDialog.getWindow() != null; | |
myDialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); | |
myDialog.setCancelable(true); | |
myDialog.setContentView(R.layout.rate_us_dialog); | |
ImageView playstoreLogo = myDialog.findViewById(R.id.ll2); | |
Glide.with(getApplicationContext()) |
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"?> | |
<RelativeLayout 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" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
tools:context=".UI.UsersOrders"> | |
<android.support.design.widget.AppBarLayout | |
android:id="@+id/appbar" |
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
// in Manifest add : | |
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> | |
// Code start here | |
... | |
private static final int PERMISSION_REQUEST_CODE = 1; | |
... | |
private boolean checkPermission() { |
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
myDialog = new Dialog(MainActivity.this); | |
myDialog.requestWindowFeature(Window.FEATURE_NO_TITLE); | |
assert myDialog.getWindow() != null; | |
myDialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); | |
myDialog.setCancelable(true); | |
myDialog.setContentView(R.layout.rate_us_dialog); |
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.classroom.app1; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.support.annotation.NonNull; | |
import android.text.TextUtils; | |
import android.util.Log; | |
import android.view.View; | |
import android.widget.EditText; | |
import android.widget.TextView; |
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 kmzstudio.realanime; | |
import android.app.Dialog; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.SharedPreferences; | |
import android.graphics.Color; | |
import android.graphics.Typeface; | |
import android.graphics.drawable.ColorDrawable; |
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 kmzstudio.realanime.Adapters; | |
import android.content.Context; | |
import android.support.annotation.NonNull; | |
import android.support.v7.widget.LinearLayoutManager; | |
import android.support.v7.widget.RecyclerView; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.TextView; |
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
apply plugin: 'com.android.application' | |
apply plugin: 'com.google.gms.google-services' | |
android { | |
compileSdkVersion 28 | |
defaultConfig { | |
applicationId "com.classroom.app1" | |
minSdkVersion 15 | |
targetSdkVersion 28 | |
versionCode 1 |
NewerOlder