-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Set up v.next branch * WPF/MAUI: FeatureForm attachments support (#581) * Added missing trimming attribute * Move code for getting parent to common location * Add null-check * Improve app theming and theme testing * Adds support for the barcode input field (#583) * Adds support for the barcode input field * Added support to override URL clicks in PopupViewer (#584) * Added support to override URL clicks in PopupViewer * Added samples for reference * Refactor PopupViewer and event handling * Refactor hyperlink event handling and cleanup - Corrected the event name from `HyperLinkClicked` to `HyperlinkClicked` in both XAML and code-behind files for consistency and to meet case sensitivity requirements. * Refactor GetPopupViewerParent to generic * Refactor GetParent<T> generic constraint * Broaden type check in Tapped event handler * Refine type checks and adjust imports * Refactor PopupViewer parent traversal logic * Add discard method to featureform that ensures the form is fully reset by re-evaluating expressions All add Finish method for consistency * Improve discards and avoiding cascading evaluations * Add barcode scanner example to maui sample using ZXing * Refetch attachment on discard * Fix null warning * Add error border below text field (#585) Ensures on catalyst that the textfield isn't blocked form clicking when there's an error * BugFix: BasemapGallery fails to load default Basemaps in WPF (#586) * Optimize BasemapGallery initialization Removed redundant initialization of `AvailableBasemaps` in the `BasemapGallery` constructor. Added a null check in `BasemapGallery_Loaded` to initialize `AvailableBasemaps` only if it is null, calling `_controller.LoadFromDefaultPortal()` asynchronously if needed. This change prevents unnecessary initialization and allows for external setting of `AvailableBasemaps` before the control is loaded. * Initialize AvailableBasemaps and improve load check Add initialization flag for BasemapGallery collection * Raise hyperlink event for field links #576 --------- Co-authored-by: Morten Nielsen <mort5161@esri.com> Co-authored-by: Prathamesh Narkhede <55591622+prathameshnarkhede@users.noreply.github.com>
- Loading branch information
1 parent
5032f25
commit 94dbc05
Showing
40 changed files
with
2,169 additions
and
101 deletions.
There are no files selected for viewing
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
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
12 changes: 9 additions & 3 deletions
12
src/Samples/Toolkit.SampleApp.Maui/Platforms/Android/AndroidManifest.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<application android:allowBackup="true" android:icon="@mipmap/appicon" android:roundIcon="@mipmap/appicon_round" android:supportsRtl="true"></application> | ||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<application android:allowBackup="true" android:icon="@mipmap/appicon" android:supportsRtl="true"></application> | ||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.CAMERA" /> | ||
<queries> | ||
<intent> | ||
<action android:name="android.media.action.IMAGE_CAPTURE" /> | ||
</intent> | ||
</queries> | ||
</manifest> |
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// /******************************************************************************* | ||
// * Copyright 2012-2018 Esri | ||
// * | ||
// * Licensed under the Apache License, Version 2.0 (the "License"); | ||
// * you may not use this file except in compliance with the License. | ||
// * You may obtain a copy of the License at | ||
// * | ||
// * http://www.apache.org/licenses/LICENSE-2.0 | ||
// * | ||
// * Unless required by applicable law or agreed to in writing, software | ||
// * distributed under the License is distributed on an "AS IS" BASIS, | ||
// * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// * See the License for the specific language governing permissions and | ||
// * limitations under the License. | ||
// ******************************************************************************/ | ||
|
||
namespace Esri.ArcGISRuntime.Toolkit.Maui.Internal | ||
{ | ||
internal sealed class CalciteImageButton : ImageButton | ||
{ | ||
private readonly string _glyph; | ||
public CalciteImageButton(string glyph) | ||
{ | ||
_glyph = glyph; | ||
Source = new FontImageSource() { Glyph = _glyph, FontFamily = "calcite-ui-icons-24", Color = Color }; | ||
this.SetAppThemeColor(ColorProperty, Colors.Black, Colors.White); | ||
} | ||
|
||
public Color Color | ||
{ | ||
get { return (Color)GetValue(ColorProperty); } | ||
set { SetValue(ColorProperty, value); } | ||
} | ||
|
||
public static readonly BindableProperty ColorProperty = BindableProperty.Create(nameof(Color), typeof(Color), typeof(CalciteImageButton), Colors.Black, | ||
propertyChanged: (s, oldValue, newValue) => ((CalciteImageButton)s).SetColor()); | ||
|
||
private void SetColor() | ||
{ | ||
((FontImageSource)Source).Color = Color; | ||
} | ||
} | ||
} |
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
Oops, something went wrong.