summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.ControlGallery.Android
AgeCommit message (Collapse)AuthorFilesLines
2017-10-23[Android] Applinks firebase 42 (#1107)Rui Marinho2-53/+109
* Android AppLinks updated packages and refactor to comply with Firebase packages * made nested classes internal * removed notimplementedexception and added a Console log when on Failure * removed Firebase init method. Changed Console for Android's native Exception logging * formatted code styling with Visual Studio Community 2017 for Mac * [Android] Update nuspec and gallery * [Packages] Update android support packages for 25.4.0.2
2017-10-23Force the restart test to reset to the home screenE.Z. Hart1-0/+2
2017-10-18[Android] Prevent ObjectDisposedExceptions in ListViews with ↵Samantha Houts1-2/+3
Header/FooterTemplates (#1155) * Update repro to include header/footers with bound props * [Android] Clear renderers of ListView header/footers And don't call `RemoveAllViews`, because that causes the ObjectDisposedExceptions.
2017-09-28Prevent Flags/IsInitialized check from crashing Android app on restart (#1151)E.Z. Hart3-0/+34
* Prevent Android app crashes on configuration restarts when flags are set * Update UI test * Fix typos * Don't prevent FastRenderers flag from being set
2017-09-15Fix failing UI tests for Android FormsApplicationActivity (#1141)E.Z. Hart1-2/+14
* Fix broken test for 57910 when using FormsApplicationActivity * Fix NRE when removing a page during OnAppearing using FormsApplicationActivity * Update 45926 test to work correctly with FormsApplicationActivity * Update 32830 test so it doesn't crash on FormsApplicationActivity * Longer wait before refreshing appearing messages (to work with FormsApplicationActivity) * Fix input transparency issue with old FrameRenderer * Remove extraneous using directive * Just ignore test 32830 on FormsApplicationActivity * [Controls] Add missing directive
2017-08-15[Android] Eagerly dispose children of ListViews to prevent ObjectDisposed ↵Samantha Houts1-2/+53
exception (#1063) * Add repro for 57910 * [Android] Dispose cells explicitly * [Android] Add default constructors to prevent crash on dispose * [Android] Don't try to dispose headers and footers
2017-08-10Add check to avoid running AppCompat-specific tests on pre-AppCompatE.Z. Hart2-0/+14
Fix race conditions in tests running agaist FormsApplicationActivity
2017-08-10Add support for backcompat hint flags (#1074)E.Z. Hart3-15/+14
* Add support for backcompat hint flags * Making fast renderers internal and sealed while experimental
2017-08-10Repro 58406; apply effects to fast renderers on Android (#1077)E.Z. Hart3-2/+73
2017-06-24ControlGallery Android Activity cleanup (#1011)E.Z. Hart10-310/+287
* Split up the various forms of Activity1 so the code is manageable * Update access to Insights key for FormsApplicationActivity * Remove conditional compilation symbol
2017-06-22[Android] Remove the ". " on empty labels (Accessibility) on Fastrenderers ↵Samantha Houts1-8/+22
(#915) * [Android] Concatenate Name/HelpText better Also remove some parameters that were added to workaround an issue that no longer exists. * Add repro * Listen to Stephane he's usually right * oops, didn't save
2017-06-22[iOS/Android] Fixes "jumping" when navigation to a page with a NavigationBar ↵Samantha Houts1-0/+10
from a page without one (#962) * Add repro * [iOS] Set IgnoreContainerArea when no Nav Bar * [Android] Layout bar and page at the same time * Add custom renderer to turn off transitions * Fix test case number * Remove superfluous category set * Fix test automation, add TabbedPage
2017-06-20[iOS] Allow Forms gestures on custom renderers for controls which already ↵E.Z. Hart2-0/+43
have gestures (#990) * Repro 57114 with UI test; fix for 57114 on iOS * Repro/UI test for Windows * Add helpful comment for posterity * Remove stray TODO * Only do ShouldReceiveTouch on mobile * Explicitly require wrapped UIView to have gesture recognizers
2017-05-24Fix FormsApplicationActivity buildSamantha Houts1-1/+3
2017-05-04Remove status bar underlay view in Android AppCompat (#892)E.Z. Hart3-1/+10
* Remove status bar underlay and handle status bar color with theme colors * Fix layout gap when SoftInputMode is set to resize * Restore linker settings
2017-04-25Better error handling for image loading errors on iOS/Android (#849)E.Z. Hart5-13/+62
* First run at removing async void image update methods Consistent error logging and IsLoading on Android,iOS,UWP Move error logging into image handlers for better messages Add demo of custom ImageRenderer error handling Update docs Make the test smaller so the results don't get pushed offscreen Fix namespace error * Update error handling for fast image renderer * Update 37625 test to use image we control * Add java disposed check to avoid ObjectDisposedException in async operations * Add disposed checks to legacy renderer; null check element before SetIsLoading * Check disposed on GetDesiredSize for fast renderer Use local disposed member where possible for disposed check * Check for disposal after async handlers in iOS * Add disposal checks after async methods in Windows * Reset linker settings on project; reduce redundant casts in ImageViewExtensions
2017-04-06Android fastrenderers (#845)Rui Marinho4-38/+38
* Obsolete IVisualElementRenderer.ViewGroup in favor of .View * Fix NRE * Changing TContainer in PlatformEffect to View * Fix "View" type * new VisualElementRenderer * First attempt at a fast(er) button renderer * Fast Label Renderer * Let's try that again. Behold: Label Fast Renderer * Move FrameRenderer into Fast Renderers * Fix Disposable on VisualElementRenderer * Simplify touch and click handlers * Drop empty if clause * [Android] Add initial Image fast renderer * Split accessibility out to a separate helper class; fix tapgesture bug with label * [Android] Small fixes to VisualElementRenderer * Move accessiblity stuff to a separate class (which needs a good name) * Prevent query from looking to parent for fast renderers * [Android] ImageRenderer refactoring * Fix elevation/z-index bugs with Button (e.g., 40173) * Move SetLabeledBy to Accessibilitizer * Un-break automation IDs for Labels * Move gesture handling to its own class * Split gesture and effect management into separate classes * Remove unneeded packager from LabelRenderer * LabelRenderer inherits from FormsTextView * Batch updates to View * Fix isOnParentRenderer check for non-Android platforms * [Controls] Update Xamarin.Forms.ControlGallery.iOS.csproj * [Android,IOS] Small fixes to rebase and use of Internals * [Android] Ignroe warning for now * Fast renderers now passing InputTransparent and IsEnabled tests * Fast and legacy renderers now pass the Enabled and InputTransparent tests * Change PlatformEffect back, default container to null * Fix mangled using directives
2017-03-24[Android] Still look for the normal drawable on resources (#839)Rui Marinho4-0/+23
* [Android] Still look for the normal drawable on resources * [Android]Fix code style
2017-03-23[Android] ScrollView can now consume Effects (#836)Samantha Houts1-0/+4
* Add repro * [Android] Make ScrollView an IEffectControlProvider
2017-03-23UI tests for InputTransparent and fixes for Android/Windows (#808)E.Z. Hart1-0/+0
* Set up automated UI tests for InputTransparent * Pull in Adrian's UI tests from PR 483 * Fix bugs with box/label/image gestures passing through when not transparent * Fix disabling of layouts on Windows; fix 44096 test for iOS/Windows; * Automate the 53445 test
2017-03-08VSTS support (#803)Rui Marinho1-1/+1
* Fix certs * Try fix build reference * Update to nuget 3.5 * Remove BingMapsSDK * Revert git ignore change
2017-03-03[Android] Don't crash if Control is accessed in Effect OnDetached when Page ↵Samantha Houts1-0/+1
is Disposed. (#773) * Add repro for 51505 * [Android] Don't dispose of EffectControlProvider * Oops
2017-02-22added sample filesAdrian Knight4-0/+73
2017-02-17Add localized listener for Android numeric inputE.Z. Hart1-0/+30
2017-01-12[iOS] Labels with WordWrap or CharacterWrap will Expand (#529)Samantha Houts2-0/+3
* Add reproduction for 28650 * [iOS] Expand the label to fill width if wrapping Also, simplify the `if` statement, since `LineBreakMode` is not a flags enum and the only excluded member was `None`. * Test two small labels next to each other in horizontal layout
2016-12-15Fix potential NRE in ConditionalFocusLayout (#587)2.3.3.175E.Z. Hart3-3/+53
2016-11-16Run multiple UI tests without restarting ControlGallery (#539)E.Z. Hart3-1/+25
* Allow UI tests to bypass "manual" navigation to isses pages * Add missing Preserve attribute * Make Issue198 test work with direct navigation * Remove empty UI tests * Fix error handling for iOS * Use navigation which works for subsequent TestNavigationPages on iOS * Fix race condition in 39530 test Remove master page nesting when doing direct nav for UI tests * Set up and run a single instance of Control Gallery for UI tests * Force NavigateToIssue to wait for main page appearing to deal with iOS timing * Move remaining UI tests into Issues namespace * Change the connection check URL so it'll work on iOS * Make Appearing Gallery tests work without restarting app * Prevent ContextActions tests from stepping on each other * Make context menu test more robust * Move ButtonExtensions back to Controls namespace * Have test 774 dismiss the action sheet before ending * Update UITest package to 2.0.0 stable * Make 2948 restore orientation when it's done * Null check on PageController before calling SendDisappearing * Adding a wait for the root page in the core tests * Add consecutive tests reset to prevent memory slog on older iOS devices
2016-11-09Removing PCLStorage references until it's determined that we need themE.Z. Hart2-9/+0
2016-11-03[Android] Allow path-based icons to be loaded as toolbar icons (#437)adrianknight892-0/+9
* Created a bitmap method to check for resource as well as path * Update platform and navigationrenderer to get images from two locations * CellAdapter could use path-based icon finding * sample app to test toolbaritem icons
2016-10-04Unhook drawer listeners so MDP renderer and pages can be collected (#412)E.Z. Hart1-0/+9
Null out page in custom MDP renderer in Control Gallery so it can be collected Checkpoint Checkpoint Checkpoint Checkpoint Checkpoint Checkpoint
2016-10-03Fix tests on IOS10 [Do not merge] (#373)Rui Marinho1-1/+1
* [UITests] Update packages * [UITests] Fix formatting * [UITests] Fix tests * Add badges * Update Android csproj * fix
2016-09-27Fix potential NRE accessing current application via Page.RealParent (#330)E.Z. Hart1-31/+8
* Fix potential NRE accessing current application via Page.RealParent * Update Native Bindings Gallery to use MessagingCenter
2016-09-18[Controls] Update Insights and UITest packages and fix warnings (#361)Rui Marinho3-14/+5
* [Controls] Update Insights and UITest packages * Update Xamarin.Forms.Platform.Android (Forwarders).csproj
2016-09-15[Android] Fix failing UITests (#356)Rui Marinho1-2/+16
2016-09-08Native Bindings (#278)Stephane Delcroix3-0/+222
* [C, I, A, W] Support Native Bindings * fix tabs
2016-08-30Allow Custom Android MapRenderers to override the default MapView options (#285)Marcus Lum1-4/+19
* Allow Custom Android MapRenderers to override the default MapView options * Larger effort to use CreateNativeControl () everywhere instead of just in the Android AppCompat renderers.
2016-06-27[Android] Memory leak when MasterDetailPage Detail set to NavigationPage (#239)E.Z. Hart1-1/+0
* Create repro * Remove unnecessary cast * Add null checks on weak references in PageContainer * Remove master/detail fragments from manager when switching master/detail pages Separate renderer ViewGroup removal from renderer disposal in FragmentContainer Separate PageContainer disposal from renderer disposal in FragmentContainer Remove Drawer Listener for NavigationPageRenderer in Dispose * Fix missing spaces; Add explicit SPACE_BEFORE_IF_PARENTHESES settings to DotSettings file * Remove javascript rules * Remove usage of .ForEach()
2016-06-16Fixing parentheses in project reference (#225)E.Z. Hart1-2/+2
2016-05-10[Android] Isolate fragment management for children of MasterDetailPage (#136)E.Z. Hart2-6/+24
* Isolate fragment management for children of MasterDetailPage in AppCompat If a MasterDetailPage hosts NavigationPages or TabbedPages in either the Master or Detail sections, wrap those pages in their own Fragment (and ChildFragmentManager) to isolate their Fragment management operations and avoid recursive entry into the executePendingTransactions method Also fix a disposal bug in the custom MDP renderer in Control Gallery * Remove MDP Split setting that breaks test on iPad
2016-04-24Evolve feature branch (#117)Jason Smith4-2/+12
* Initial import of evolve features * [Android] Add Xamarin.Forms.Platform.Android.AppLinks project * [iOS] Fix issues with c# 6 features on iOS AppLinks * Added naive stanza to update-docs-windows.bat to produce Pages docs. Not tested. (#69) * Update packages * Add AppLinks android nuspec and fix linker issues * Fix build * Fix nusepc * Fix nuspec * Update android support nugets to 23.2.1 * Update Xamarin.UITest * Add CardView * [iOS] Fix app link for CoreSpotlight * [Android] Update AppLinks android support libs * Add Newtonsoft.Json dependency to nuspec * Fix NRE when setting ControlTemplate to null * Move to ModernHttpClient for download * Try fix build * Preserve android app links * Fix margin issue * General coding and simple fixes
2016-04-20[Android] Add missing 23.3.0 package dependenciesSamantha Houts2-0/+14
2016-04-19[Android] Fix registering of default AppCompact renderers (#112)Rui Marinho1-134/+222
2016-04-16[iOS] Restore VisualElementTracker on WebViewRenderer (#99)Rui Marinho2-0/+1
2016-04-16Update android support packages to 23.3 (#102)Rui Marinho2-12/+12
2016-04-12Add compatibility shims to fix warnings; annotate warnings which require (#75)Jason Smith1-1/+1
more thought to fix; Fix a few more warnings VS didn't see fit to raise as errors Adding comments to `pragma warning disable` statements pragma comments Fix typo Set TabletMasterDetailRenderer back to previous version Fix incorrect config access in legacy activity
2016-04-11[Nuget] Remove GPS dependency (#71)Rui Marinho2-5/+0
2016-04-07Enable warnings as errors in testskingces951-0/+9
2016-03-24Move initialization of configuration files (if needed) to a pre-build taskE.Z. Hart3-1/+13
Remove unneeded init scripts
2016-03-23[A] Fix insights api key access for Legacy AndroidE.Z. Hart1-1/+1
2016-03-22Initial importJason Smith38-0/+1384