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
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.github.quentin7b.estimateit"> | |
<application | |
android:icon="@mipmap/ic_launcher" | |
android:label="@string/app_name"> | |
<meta-data | |
android:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME" | |
android:value="com.github.quentin7b.estimateit.CastOptionsProvider" /> |
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.github.quentin7b.estimateit | |
import android.os.Bundle | |
import android.util.Log | |
import android.view.Menu | |
import androidx.appcompat.app.AppCompatActivity | |
import androidx.core.view.MenuItemCompat | |
import androidx.mediarouter.app.MediaRouteActionProvider | |
import androidx.mediarouter.media.MediaControlIntent | |
import androidx.mediarouter.media.MediaRouteSelector |
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: 'kotlin-android' | |
apply plugin: 'kotlin-android-extensions' | |
android { | |
compileSdkVersion 28 | |
defaultConfig { | |
applicationId "your.app.id" | |
minSdkVersion 21 |
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
import 'package:flutter/material.dart'; | |
class CustomAutoComplete<T extends Object> extends StatelessWidget { | |
final Iterable<T> options; | |
final Function(T) onSelected; | |
final String Function(T)? displayStringForOption; | |
final Widget Function(BuildContext, T)? optionsItemBuilder; | |
final Iterable<T> Function(TextEditingValue)? optionsFilter; | |
const CustomAutoComplete({ |
OlderNewer