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:local="http://schemas.android.com/apk/res-auto" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent"> | |
<include | |
android:id="@+id/toolbar" | |
layout="@layout/toolbar" /> | |
<LinearLayout | |
android:orientation="vertical" |
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
using System; | |
using Android.App; | |
using Android.OS; | |
using Android.Support.Design.Widget; | |
using Android.Widget; | |
namespace ToastsAndSnackbarsSample | |
{ | |
[Activity(Label = "ToastsAndSnackbarsSample", MainLauncher = true, Icon = "@drawable/icon")] | |
public class MainActivity : BaseActivity |
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
using System; | |
using Android.App; | |
using Android.OS; | |
using Android.Widget; | |
namespace ToastsAndSnackbarsSample | |
{ | |
[Activity(Label = "ToastsAndSnackbarsSample", MainLauncher = true, Icon = "@drawable/icon")] | |
public class MainActivity : BaseActivity | |
{ |
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
using Android.App; | |
using Android.OS; | |
using Android.Support.Design.Widget; | |
using Android.Support.V7.Widget; | |
using Android.Widget; | |
namespace RecyclerViewSample | |
{ | |
[Activity(Label = "RecyclerViewSample", MainLauncher = true, Icon = "@drawable/icon")] | |
public class MainActivity : BaseActivity |
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
using System; | |
using System.Collections.Generic; | |
using Android.Support.V7.Widget; | |
using Android.Views; | |
namespace RecyclerViewSample | |
{ | |
public class MovieAdapter : RecyclerView.Adapter | |
{ | |
public event EventHandler<int> ItemClick; |
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
using System; | |
using Android.Support.V7.Widget; | |
using Android.Views; | |
using Android.Widget; | |
namespace RecyclerViewSample | |
{ | |
public class MovieViewHolder : RecyclerView.ViewHolder | |
{ | |
public TextView MovieNameTextView { get; set; } |
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"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:cardview="http://schemas.android.com/apk/res-auto" | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:gravity="center_horizontal" | |
android:padding="5dp"> | |
<android.support.v7.widget.CardView | |
android:layout_width="fill_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
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:local="http://schemas.android.com/apk/res-auto" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent"> | |
<include | |
android:id="@+id/toolbar" | |
layout="@layout/toolbar" /> | |
<LinearLayout | |
android:orientation="vertical" |
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
using System.Collections.Generic; | |
using Android.App; | |
using Android.Views; | |
using Android.Widget; | |
namespace CardViewSample | |
{ | |
public class MovieAdapter : BaseAdapter<Movie> | |
{ | |
private readonly Activity context; |
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"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:cardview="http://schemas.android.com/apk/res-auto" | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:gravity="center_horizontal" | |
android:padding="5dp"> | |
<android.support.v7.widget.CardView | |
android:layout_width="fill_parent" |