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
fun actorsData(): List<Actors> { | |
val actorsList = ArrayList<Actors>() | |
data.forEach { | |
actorsList.add(Actors(it)) | |
} | |
return actorsList | |
} | |
private val data = listOf( |
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
<resources xmlns:tools="http://schemas.android.com/tools"> | |
<!-- Base application theme. --> | |
<style name="AppTheme" parent="Theme.MaterialComponents"> | |
<!-- Customize your theme here. --> | |
<item name="colorPrimary">@color/colorPrimary</item> | |
<item name="colorSurface">@color/colorSurface</item> | |
<item name="colorSecondary">@color/colorSecondary</item> | |
<item name="android:colorBackground">@color/colorBackground</item> | |
<item name="colorPrimaryDark">@color/colorPrimaryDark</item> |
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"?> | |
<resources> | |
<color name="colorPrimary">#ffffff</color> | |
<color name="colorOnPrimary">#000000</color> | |
<color name="colorSecondary">#9e9e9e</color> | |
<color name="colorOnSecondary">#000000</color> | |
<color name="colorSurface">#ffffff</color> | |
<color name="coloOnSurface">#000000</color> | |
<color name="colorBackground">#ffffff</color> | |
<color name="colorOnBackground">#000000</color> |
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
<resources> | |
<!-- Titles --> | |
<string name="title_rugby">Rugby</string> | |
<string name="title_cricket">Cricket</string> | |
<string name="title_basketball">Basketball</string> | |
<string name="title_hockey">Hockey</string> | |
<string name="title_volleyball">Volleyball</string> | |
<string name="title_esports">Esports</string> | |
<string name="title_kabbadi">Kabaddi</string> |
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"?> | |
<FrameLayout | |
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" | |
tools:context=".ListFragment"> | |
<TextView | |
android:layout_width="match_parent" |
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.developersbreach.myapplication | |
import android.os.Bundle | |
import androidx.fragment.app.Fragment | |
import android.view.LayoutInflater | |
import android.view.View | |
import android.view.ViewGroup | |
/** |