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 {Library, IPromptChoiceResult, Prompts, ListStyle, IDialogResult, IntentRecognizer, IRecognizeContext, IIntentRecognizerResult} from "botbuilder"; | |
// how to use the extended prompt: | |
const lib = new Library("ending"); | |
lib | |
.dialog("example", [ | |
(session, args) => { | |
session.sendTyping(); | |
const choiceOpt: CustomChoiceOptions = { |
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
//usage: | |
// ContactGrid is the x:Name of the Grid within the ScrollView | |
protected override void OnAppearing() | |
{ | |
base.OnAppearing(); | |
ContactGrid.LayoutStars(((float)App.INSTANCE.Resources["PageHeight"])); | |
} | |
//In your MainActivity: |