Skip to content

Commit d23058d

Browse files
author
Vignesh Ramesh
authored
Merge pull request #2 from VishalOmprasad/master
XAMARIN-43979 : Code example site improvements
2 parents bcfc41d + 8812642 commit d23058d

1 file changed

Lines changed: 43 additions & 2 deletions

File tree

README.md

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,43 @@
1-
# TreeMap_GettingStarted_Android
2-
This repository contains sample for TreeMap getting started in Xamarin.Android
1+
# TreeMap Getting Started Android
2+
3+
This repository contains sample to get started with the [Syncfusion Xamarin.Android TreeMap](https://help.syncfusion.com/xamarin-android/sftreemap/getting-started) control. The TreeMap control provides a simple yet effective way to visualize flat or hierarchical data as clustered rectangles with a specific weighted attribute that determines the size of the rectangle.
4+
5+
## Syncfusion controls
6+
7+
This project used the following Syncfusion control(s):
8+
* [SfTreeMap](https://www.syncfusion.com/xamarin-android-ui-controls/treemap)
9+
10+
## Requirements to run the sample
11+
12+
* [Visual Studio](https://visualstudio.microsoft.com/downloads/) or [Visual Studio for Mac](https://visualstudio.microsoft.com/vs/mac/)
13+
14+
Refer to the following link for more details - [System Requirements](https://help.syncfusion.com/xamarin-android/system-requirements)
15+
16+
## How to run the sample
17+
18+
1. Clone the sample and open it in Visual Studio.
19+
20+
*Note: If you download the sample using the "Download ZIP" option, right-click it, select Properties, and then select Unblock.*
21+
22+
2. Register your license key in the MainActivity.cs file as demonstrated in the following code.
23+
24+
protected override void OnCreate(Bundle savedInstanceState)
25+
{
26+
//Register Syncfusion license
27+
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY");
28+
29+
base.OnCreate(savedInstanceState);
30+
31+
// Set our view from the "main" layout resource
32+
SetContentView(Resource.Layout.Main);
33+
}
34+
35+
Refer to this [link](https://help.syncfusion.com/xamarin-android/licensing/overview) for more details.
36+
37+
3. Clean and build the application.
38+
39+
4. Run the application.
40+
41+
## License
42+
43+
Syncfusion has no liability for any damage or consequence that may arise by using or viewing the samples. The samples are for demonstrative purposes, and if you choose to use or access the samples, you agree to not hold Syncfusion liable, in any form, for any damage that is related to use, for accessing, or viewing the samples. By accessing, viewing, or seeing the samples, you acknowledge and agree Syncfusion’s samples will not allow you seek injunctive relief in any form for any claim related to the sample. If you do not agree to this, do not view, access, utilize, or otherwise do anything with Syncfusion’s samples.

0 commit comments

Comments
 (0)