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.support.annotation.NonNull; | |
import android.support.design.widget.Snackbar; | |
import android.view.View; | |
import com.edablogs.tubelite.R; | |
import com.edablogs.tubelite.adapter.RecyclerAdapter; | |
import com.edablogs.tubelite.api.APIService; | |
import com.edablogs.tubelite.api.YoutubeApi; | |
import com.edablogs.tubelite.model.youtube.Item; | |
import com.edablogs.tubelite.model.youtube.ItemLatest; |
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
/** | |
* Created by pawneshwer on 23-Dec-16. | |
*/ | |
public interface CacheUtils { | |
//cache manager file names | |
String POPULAR = "popular.json"; | |
String LATEST = "latest.json"; | |
String TOP_WATCHED = "top_watched.json"; | |
String SEARCH = "search.json"; |
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.Context; | |
import android.os.Build; | |
import android.util.Log; | |
import com.google.gson.Gson; | |
import com.google.gson.GsonBuilder; | |
import java.io.BufferedWriter; | |
import java.io.File; | |
import java.io.FileInputStream; |
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.prolongservices.awaz.ui.fragments; | |
import android.databinding.DataBindingUtil; | |
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; |
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
<layout> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical"> | |
<Button | |
android:id="@+id/btn_click" | |
android:layout_width="match_parent" |
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.prolongservices.awaz.ui.activities; | |
import android.databinding.DataBindingUtil; | |
import com.prolongservices.awaz.R; | |
import com.prolongservices.awaz.databinding.ActivityRegisterBinding; | |
public class RegisterActivity extends AppCompatActivity implements Response.Listener<Boolean> { | |
private static final String TAG = "RegisterActivity"; | |
private PhoneAuthProvider.OnVerificationStateChangedCallbacks callbacks; | |
private FirebaseAuth mAuth; |
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"?> | |
<layout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@drawable/bg_gradient" | |
android:orientation="vertical" |
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
<?php namespace Config; | |
use CodeIgniter\Config\BaseConfig; | |
class Filters extends BaseConfig | |
{ | |
// Makes reading things below nicer, | |
// and simpler to change out script that's used. | |
public $aliases = [ | |
'csrf' => \CodeIgniter\Filters\CSRF::class, |
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
<?php namespace Config; | |
// Create a new instance of our RouteCollection class. | |
$routes = Services::routes(true); | |
// Load the system's routing file first, so that the app and ENVIRONMENT | |
// can override as needed. | |
if (file_exists(SYSTEMPATH . 'Config/Routes.php')) | |
{ | |
require SYSTEMPATH . 'Config/Routes.php'; |
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
* { | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
body { | |
padding: 0; | |
margin: 0; | |
} |