Giter Club home page Giter Club logo

xamarin-forms-practices's Introduction

Sharpnado's Silly Sample App!

Sample app for the following libraries:

Platform Build Status
Android Build status
iOS Build status

Including

  • CollectionView
  • Tabs
  • MaterialFrame
  • Shadows
  • TaskLoaderView
  • Paginator

Installation

The Sharpnado.HorizontalListView, Sharpnado.Tabs and Sharpnado.MaterialFrame are added as git submodules. Run the submodule update command after cloning the repository to be up and running:

git clone https://github.com/roubachof/Xamarin-Forms-Practices.git
git submodule update --init

Screenshots

iOS Neumorphism UWP Neumorphism badges
iOS Theming Android Theming

xamarin-forms-practices's People

Contributors

dependabot[bot] avatar roubachof avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xamarin-forms-practices's Issues

git submodule not working

Hi, i've been trying to get the practices app working, but i need de modules, i put the git command "git submodule update --init" but it tells me this ```
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

on select tab it execute many time

Hi ,
So as the title say when i select a tab it execute more than one time here is my code if (e.SelectedPosition.ToString() == "2") { FillUpdateUser(); lbl_title.Text = "Actualizar usario"; viewUsers.IsVisible = false; AddUsers.IsVisible = false; UpdateUsers.IsVisible = true; RemoveUsers.IsVisible = false; }
FillUpdateUser() is a methode to fill a picker it fillet many time is it a bug or something i did wrong thanks.

Two files name have been inverted

Hello @roubachof

I am currently trying to understand how to use your great TaskViewLoader library, thank you for your hard work on your libs.

For the record, I've just found two wrong files name :

  • "ExceptionToImageSourceConverter.cs" file actually hosts your ExceptionToErrorMessageConverter
  • "ExceptionToErrorMessageConverter.cs" file actually hosts your ExceptionToImageSourceConverter

The current source does not compile.

Platform (please complete the following information):

  • OS: [iOS/Android/Both] Both
  • Device: [iPhone6/iPhoneSimulator/Pixel/AndroidEmulator/...] any phone
  • Sdk vervion: [iOS 11/Android SDK 21] any current
  • Xamarin.Forms: [3.4.0.1029999] didn'tchange your version

Describe the bug
The source code does not compile.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the source
  2. Compile
  3. Review errors
  4. Also, cannot fix NuGet issues, as they cause further issues

Output (partial):
Severity Code Description Project File Line Suppression State
Error : XamlC error XFC0000 : Cannot resolve type "ViewSwitcher". SillyCompany.Mobile.Practices M:\MyDocs\Dev\Xamarin-Forms-Practices\SillyCompany.Mobile.Practices\Presentation\Views\DudeDetails\SillyDudePage.xaml 1
Error : XamlC error XFC0000 : Cannot resolve type "ViewSwitcher". SillyCompany.Mobile.Practices M:\MyDocs\Dev\Xamarin-Forms-Practices\SillyCompany.Mobile.Practices\Presentation\Views\SurfaceDuo\TwoPanePage.xaml 1
Error : XamlC error XFC0000 : Cannot resolve type "ViewSwitcher". SillyCompany.Mobile.Practices M:\MyDocs\Dev\Xamarin-Forms-Practices\SillyCompany.Mobile.Practices\Presentation\Views\TabsLayout\SillyBottomTabsPage.xaml 1

SillyDudePage.xaml - many errors
xmlns:tabs="http://sharpnado.com"
... seems to be the root cause

Is it possible to better customize the look and feel of the TabHost and the Tabs?

Currently it appears you can only change the basic properties (background color, label color, selected and unselected). is it possible to add the ability to customize things more? for instance what if i'd want tabs that have rounded edges on the first and last tab? or for instance configure a different color for the borders of the tabs?

Thanks for making a great component!

Can't clone and build Xamarin-Forms-Practices

I would like to run your Sharpnado sample app.

I execute this, as explained in this page : https://github.com/roubachof/Xamarin-Forms-Practices

  1. git clone https://github.com/roubachof/Xamarin-Forms-Practices.git
  2. git submodule update --init

line 1 downloads successfully Xamarin-Forms-Practices in my local folder

but line 2 leads to this error:
fatal: not a git repository (or any of the parent directories): .git

I tried to move to child directory (cd Xamarin-Forms-Practices) then run again line 2. And now error is:
fatal: No url found for submodule path 'Sharpnado.HorizontalListView' in .gitmodules

Is there something wrong? thank you!

should mention somewhere that the project doesn't run on its own

I had to do a bunch of fiddling to get it working.

Ultimately I had to download the whole Sharpnado.Presentation.Forms project and manually drag it into this project in visual studio before this would run.

There may be a smarter way, but I obviously didn't think of it, and there's no information about it anywhere.

HorizontalListView Question

Hi,

i'm testing to use your HorizontalListView in our app, but i have a problem with the android ripple effect while scrolling. This is my test xaml:

		<sho:HorizontalListView SnapStyle="None"
								ItemWidth="200"
								ItemHeight="150"
								ItemSpacing="20"
								ListLayout="Linear"
								x:Name="HorizontalListView"
								TapCommand="{Binding TapCommandTest}"
								ItemsSource="..."
								BackgroundColor="Red"
								ColumnCount="0">
			<sho:HorizontalListView.ItemTemplate>
				<DataTemplate>
					<ViewCell>
						<ContentView xamEffects:TouchEffect.Color="Beige" BackgroundColor="Green">
						</ContentView>
					</ViewCell>
				</DataTemplate>
			</sho:HorizontalListView.ItemTemplate>
		</sho:HorizontalListView>

I added a reference to the xamEffects library, which you mentioned in the readme. But while scrolling the touch effect is raised and this is a different behavior than the normal XF ListView. So i cloned this sample app and you have no reference to the xamEffects library, but your touch effect works like the original XF ListView. If i remove xamEffects:TouchEffect.Color="Beige" i have no ripple anymore.
So, my question is: How i get the ripple effect which you have in your sample app?
Thank you.

Cannot run this sample app???

I downloaded this app as a zip, unpacked it and launched it in Visual Studio 2019 (for Mac). And there are all sorts of missing files...

image

I have tried to remove the "Sharpnado" folder and add the NuGet packages to the Silly app instead - but it won't run (more than 860 warnings etc.) - so that is definitely not the way ahead.

Also tried to download the Sharpnado.presentation.forms project and copy the files manually into this project. But couldn't make it work - so I must be doing it all wrong.

Would appreciate if you could help me install the app to see the functions live :-)

Fresh clone is missing referenced projects

Cloning with recursion and checking out master of the repo, and then building (OSX, VS for Mac, attempting to build SillyCompany.Mobile.Practices.iOS) results in numerous errors and warnings. The following primary warnings/errors likely lead to the rest:

/Users/mattbenic/Documents/work/misc/Xamarin-Forms-Practices/SillyCompany.Mobile.Practices/Presentation/Views/AlternateSillySquareCell.xaml: Error: The target "UpdateDesignTimeXaml" does not exist in the project. (SillyCompany.Mobile.Practices)

/Library/Frameworks/Mono.framework/Versions/5.16.0/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets(5,5): Warning: The referenced project '../Sharpnado.Presentation.Forms/Sharpnado.Infrastructure/Sharpnado.Infrastructure.csproj' does not exist. (SillyCompany.Mobile.Practices)

/Library/Frameworks/Mono.framework/Versions/5.16.0/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets(5,5): Warning: The referenced project '../Sharpnado.Presentation.Forms/Sharpnado.Presentation.Forms/Sharpnado.Presentation.Forms.csproj' does not exist. (SillyCompany.Mobile.Practices)

/Library/Frameworks/Mono.framework/Versions/5.16.0/lib/mono/msbuild/15.0/bin/Microsoft.CSharp.CurrentVersion.targets(9,9): Warning MSB3884: Could not find rule set file "../Sharpnado.Presentation.Forms/Sharpnado.Infrastructure/StyleCopRules.ruleset". (MSB3884) (SillyCompany.Mobile.Practices)

Unable to fetch: git submodule update --init

D:\GitSharpnado\Xamarin-Forms-Practices>git submodule update --init
Submodule 'Sharpnado.HorizontalListView' ([email protected]:roubachof/Sharpnado.HorizontalListView.git) registered for path 'Sharpnado.HorizontalListView'
Submodule 'Sharpnado.MaterialFrame' ([email protected]:roubachof/Sharpnado.MaterialFrame.git) registered for path 'Sharpnado.MaterialFrame'
Submodule 'Sharpnado.Tabs' ([email protected]:roubachof/Sharpnado.Tabs.git) registered for path 'Sharpnado.Tabs'
Cloning into 'D:/GitSharpnado/Xamarin-Forms-Practices/Sharpnado.HorizontalListView'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:roubachof/Sharpnado.HorizontalListView.git' into submodule path 'D:/GitSharpnado/Xamarin-Forms-Practices/Sharpnado.HorizontalListView' failed
Failed to clone 'Sharpnado.HorizontalListView'. Retry scheduled
Cloning into 'D:/GitSharpnado/Xamarin-Forms-Practices/Sharpnado.MaterialFrame'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:roubachof/Sharpnado.MaterialFrame.git' into submodule path 'D:/GitSharpnado/Xamarin-Forms-Practices/Sharpnado.MaterialFrame' failed
Failed to clone 'Sharpnado.MaterialFrame'. Retry scheduled
Cloning into 'D:/GitSharpnado/Xamarin-Forms-Practices/Sharpnado.Tabs'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:roubachof/Sharpnado.Tabs.git' into submodule path 'D:/GitSharpnado/Xamarin-Forms-Practices/Sharpnado.Tabs' failed
Failed to clone 'Sharpnado.Tabs'. Retry scheduled
Cloning into 'D:/GitSharpnado/Xamarin-Forms-Practices/Sharpnado.HorizontalListView'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:roubachof/Sharpnado.HorizontalListView.git' into submodule path 'D:/GitSharpnado/Xamarin-Forms-Practices/Sharpnado.HorizontalListView' failed
Failed to clone 'Sharpnado.HorizontalListView' a second time, aborting

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.