Giter Site home page Giter Site logo

ap.mobiletoolkit's Introduction

AvantiPoint Mobile Toolkit

The AvantiPoint Mobile Toolkit is built for producing Enterprise Quality applications. The Toolkit is broken into smaller chunks that are largely platform independent.

Build Status

Docs

Docs for the Toolkit including AP.MobileToolkit.Fonts can be found at https://avantipoint.github.io/AP.MobileToolkit/

NuGet

You can add the MyGet CI feed to nuget by adding it as a source in Visual Studio:

https://www.myget.org/F/apmobiletoolkit/api/v3/index.json

Cross Platform

Package NuGet MyGet
AP.CrossPlatform.Auth CrossPlatAuthShield CrossPlatAuthMyGetShield
AP.CrossPlatform.Core CrossPlatCoreShield CrossPlatCoreMyGetShield
AP.MobileToolkit.AAD MobileToolkitAADShield MobileToolkitAADMyGetShield
AP.MobileToolkit.Http MobileToolkitHttpShield MobileToolkitHttpMyGetShield
AP.MobileToolkit.Modularity MobileToolkitModularityShield MobileToolkitModularityMyGetShield
AP.MobileToolkit.Resources MobileToolkitResourcesShield MobileToolkitResourcesMyGetShield
AP.MobileToolkit.RxUI MobileToolkitRxUIShield MobileToolkitRxUIMyGetShield

Xamarin.Forms

Package NuGet MyGet
AP.MobileToolkit.Forms MobileToolkitFormsShield MobileToolkitFormsMyGetShield
AP.MobileToolkit.Forms.Mvvm MobileToolkitFormsMvvmShield MobileToolkitFormsMvvmMyGetShield

ap.mobiletoolkit's People

Contributors

codelisk avatar dansiegel avatar dependabot-preview[bot] avatar dependabot[bot] avatar rehan-saleh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ap.mobiletoolkit's Issues

[Bug] MarkdownTextView control does not show output on Android

Description

MarkdownTextView control does not show output on Android. Though it is working fine on iOS.

Steps to reproduce

  1. Add control to the page.
<toolkit:MarkdownTextView Markdown="This is **bold** text." />
  1. Run the application on android device.

Expected Behavior

It should show the markdown text.

Actual Behavior

It shows blank screen.

Basic Information

  • Version with issue: AP.MobileToolkit - 3.0.0-ci
  • Xamarin.Forms version: 4.2.0.815419
  • IDE: Visual Studio 2019 Professional - Version 16.3.5

Screenshots

Screenshot_20191018-130913

Reproduction Link

Project: ToolkitDemo
Branch: issue/75/Demo-User-Controls

[Bug] MenuBuilder does not return options list for MenuBar control

Description

I am using MenuBuilder class to register menu options for MenuBar control. But it does not return options list when GetOptions method is called.

Steps to reproduce

  1. Add a page for MenuBar and inject IMenuBuilder dependency in it.
  2. Register MainMenuOptions using RegisterOption provided in MenuBuilder.
menuBuilder.RegisterOption(new MainMenuOption { FontFamily = string.Empty, Glyph = string.Empty, Priority = 3, Text = "Badge View", Uri = "BadgeViewPage" });
menuBuilder.RegisterOption(new MainMenuOption { FontFamily = string.Empty, Glyph = string.Empty, Priority = 1, Text = "Image Entry", Uri = "ImageEntryPage" });
menuBuilder.RegisterOption(new MainMenuOption { FontFamily = string.Empty, Glyph = string.Empty, Priority = 2, Text = "Borderless Date Picker", Uri = "BorderlessDatePickerPage" });
menuBuilder.RegisterOption(new MainMenuOption { FontFamily = string.Empty, Glyph = string.Empty, Priority = 4, Text = "Repeater View", Uri = "RepeaterViewPage" });
MenuOptions = menuBuilder.GetOptions();
  1. Get menu options list through GetOptions method.

Expected Behavior

It should return sorted menu options list based on priority.

Actual Behavior

It returns empty list.

Basic Information

  • Version with issue: AP.MobileToolkit - 3.0.0-ci
  • Xamarin.Forms version: 4.2.0.815419
  • IDE: Visual Studio 2019 Professional - Version 16.3.5

Reproduction Link

Project: ToolkitDemo
Branch: issue/75/Demo-User-Controls

[Bug] ImageEntryEffect is not working

Description

ImageEntryEffect is not working on both Android and iOS when applied to a Entry control.

Steps to reproduce

  1. Add an Entry control.
  2. Add ImageEntryEffect to the Entry control effects list.
<Entry Placeholder="Enter text">
     <Entry.Effects>
             <toolkitEffects:ImageEntryEffect Alignment="Right" ImageHeight="20" ImageWidth="20" LineColor="Blue" ImageSource="icon.png" />
     </Entry.Effects>
</Entry>

Expected Behavior

It should show the effect applied to Entry control.

Actual Behavior

Application is crashing with "Object reference not set to an instance of an object." exception on both Android and iOS.

Basic Information

  • Version with issue: AP.MobileToolkit - 3.0.0-ci
  • Xamarin.Forms version: 4.2.0.815419
  • IDE: Visual Studio 2019 Professional - Version 16.3.5

Reproduction Link

Project: ToolkitDemo
Branch: issue/88/Demo-ImageEntryEffect

Demo for Converters

Summary

Add demo for various converters available in AP.MobileToolkit.

Intended Use Case

The purpose is to exemplify converters usage available in AP.MobileToolkit.

[Bug] MarkdownTextView control does not show list item properly on iOS

Description

MarkdownTextView control does not show list item properly on iOS.

Steps to reproduce

  1. Add MarkdownTextView control to show list items.
<toolkit:MarkdownTextView Markdown="- Option 1" />
<toolkit:MarkdownTextView Markdown="- Option 2" />
<toolkit:MarkdownTextView Markdown="- Option 3" />

Expected Behavior

It should show single dot with each list item.

Actual Behavior

It shows three dots with each list item.

Basic Information

  • Version with issue: AP.MobileToolkit - 3.0.0-ci
  • Xamarin.Forms version: 4.2.0.815419
  • IDE: Visual Studio 2019 Professional - Version 16.3.5

Screenshots

Screenshot 2019-10-18 at 5 06 03 PM

Reproduction Link

Project: ToolkitDemo
Branch: issue/75/Demo-User-Controls

Demo for Behaviors

Summary

Add demo for behaviors implementation.

Intended Use Case

The purpose is to demo the usage of Behaviors in AP.MobileToolkit

Demo for ImageEntryEffect

Summary

Add demo for ImageEntryEffect available in AP.MobileToolkit.

Intended Use Case

The purpose is to exemplify ImageEntryEffect usage available in AP.MobileToolkit.

[Bug] App crashes while updating SelectorView AllowMultiple property

Description

I am using SelectorView and Switch control on a page. I am setting up AllowMultiple property of the SelectorView with the Switch toggle. When i run the application with AllowMutiple = false, SelectorView works perfectly fine and only one item can be selected in it. When i toggle the Switch to turn on multiple selection, SelectorView works perfectly fine and multiple items can be selected. When i toggle the Switch back to turn off multiple selection, Application crashes on both iOS and Android.

Steps to reproduce

  1. Add a page having Switch and SelectorView controls
  2. Added ItemList and MultiSelectEnabled properties to the page view model.
  3. Bind ItemList and MultiSelectEnabled to ItemsSource and AllowMultiple of SelectorView control respectively.
  4. Bind MultiSelectEnabled to IsToggled of Switch control.
  5. Run the application, toggle the Switch to turn on multiple selection and then toggle it again to turn off multiple selection.

Expected Behavior

It should turn off multiple selection and should clear up the items from SelectedItems property.

Actual Behavior

Application crashes on both iOS and Android.

Basic Information

  • Version with issue: AP.MobileToolkit - 3.0.0-ci
  • Xamarin.Forms version: 4.2.0.815419
  • IDE: Visual Studio 2019 Professional - Version 16.3.5

Reproduction Link

Project: ToolkitDemo
Branch: issue/75/Demo-User-Controls

[Bug] SwipeCardView does not display the list

Description

SwipeCardView is not displaying the list to perform swipe/drag

Steps to reproduce

  1. Add reference to AP.MobileToolkit in xaml file:
xmlns:toolkit="clr-namespace:AP.MobileToolkit.Controls;assembly=AP.MobileToolkit"
  1. Add a list of items to bind with the view in SwipeCardViewPageViewModel:
ItemList = new ObservableRangeCollection<string>()
{
 "Item 1",
 "Item 2",
 "Item 3"
};
  1. Use SwipeCardView control in xaml page:
<toolkit:SwipeCardView ItemsSource="{Binding ItemList}" BackgroundColor="Red" SwipedCommand="{Binding OnSwipe}" SwipedCommandParameter="{Binding .}" DraggingCommand="{Binding OnDrag}" DraggingCommandParameter="{Binding .}" TopItem="{Binding .}">
	<toolkit:SwipeCardView.ItemTemplate>
		<DataTemplate>
			<ViewCell>
				<StackLayout Padding="20">
					<Label Text="{Binding .}" VerticalTextAlignment="Center" FontSize="Large"  FontAttributes="Bold" />
				</StackLayout>
			</ViewCell>
		</DataTemplate>
	</toolkit:SwipeCardView.ItemTemplate>
</toolkit:SwipeCardView>

Expected Behavior

A list of items should display on screen

Actual Behavior

No item displays on screen

Basic Information

  • Version with issue: AP.MobileToolkit - 3.0.0-ci
  • Xamarin.Forms version: 4.2.0.815419
  • IDE: Visual Studio 2019 Professional - Version 16.3.5

Reproduction Link

Project: ToolkitDemo
Branch: issues/51/Demo-Project-More-Controls

[Bug] Font icons not displaying

Description

Font icon does not appear on screen

Steps to Reproduce

  1. Add ttf file in Android/Assets and iOS/Resources folder
  2. Add FontIcons class in your project which contains the properties having value font icon code
public class AppFontIcons
{
        public const string bolt = "\uf121";
}
  1. Register the font in App.xaml.cs
IconFontRegistry.Register(new IconFont("fa-solid-900.ttf", "fas", typeof(AppFontIcons)));
  1. Use IconImageSource from AP.MobileToolkit.Fonts in xaml file
<Image>
	<Image.Source>
		<fonticon:IconImageSource Name="fas-bolt" Size="40" Color="Accent" />
	</Image.Source>
</Image>

Expected Behavior

Font icon should display on all platforms

Actual Behavior

Font icon does not display in any platform

Basic Information

  • IDE: Visual Studio 2019
  • Platform Target Frameworks: Android/iOS/UWP
    • iOS: 12.14.0.114
    • Android: 9.4.1.1
  • Nuget Packages: 5.2.0
  • Xamarin: 16.2.0.95
  • Affected Devices: Android/iOS

Demo of Azure AD Authentication

Summary

Add a demo for Azure AD Authentication in ToolkitDemo using AP.MobileToolkit.AAD.

Intended Use Case

The purpose is to exemplify how AP.MobileToolkit.AAD can be used for Azure AD authentication.

Demo Project More Controls

Summary

Add new controls in ToolkitDemo project after rebase with master

Intended Use Case

The purpose of this issue is to add new controls to demo in ToolkitDemo project after the merging of issue/51/Demo-Project branch into master

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.