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
| <?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
| <?xml version="1.0" encoding="utf-8"?> | |
| <navigation 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" | |
| android:id="@+id/main_graph" | |
| app:startDestination="@id/firstFragment"> | |
| <fragment | |
| android:id="@+id/secondFragment" | |
| android:name="com.learnpainless.androidnavigation.fragments.SecondFragment" |
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.learnpainless.androidnavigation.fragments | |
| import android.os.Bundle | |
| import androidx.fragment.app.Fragment | |
| import android.view.LayoutInflater | |
| import android.view.View | |
| import android.view.ViewGroup | |
| import androidx.navigation.fragment.findNavController | |
| import com.learnpainless.androidnavigation.R | |
| import kotlinx.android.synthetic.main.fragment_second.* |
OlderNewer