Skip to content

Commit

Permalink
Merge pull request #219 from unoplatform/dev/AEST/190-update-to-net6-…
Browse files Browse the repository at this point in the history
…sqllite-inv

chore: SQLiteOneDriveInvoice Sample - Update to net6
  • Loading branch information
nickrandolph committed Jul 19, 2023
2 parents 0cd6f64 + 3152705 commit 69c0afd
Show file tree
Hide file tree
Showing 147 changed files with 971 additions and 1,628 deletions.
Binary file removed UI/UnoSQLiteOneDriveInvoiceSample/.DS_Store
Binary file not shown.
Binary file removed UI/UnoSQLiteOneDriveInvoiceSample/Demo/.DS_Store
Binary file not shown.
414 changes: 153 additions & 261 deletions UI/UnoSQLiteOneDriveInvoiceSample/Demo/Demo.sln

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.

This file was deleted.

43 changes: 0 additions & 43 deletions UI/UnoSQLiteOneDriveInvoiceSample/Demo/Demo/Demo.Droid/Main.cs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.companyname.Demo" android:versionCode="1" android:versionName="1.0">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="31" />
<application android:label="Demo"></application>
</manifest>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Com.Nostra13.Universalimageloader.Core;
using Microsoft.UI.Xaml.Media;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Demo.Droid
{
[global::Android.App.ApplicationAttribute(
Label = "@string/ApplicationName",
Icon = "@mipmap/icon",
LargeHeap = true,
HardwareAccelerated = true,
Theme = "@style/AppTheme"
)]
public class Application : Microsoft.UI.Xaml.NativeApplication
{
public Application(IntPtr javaReference, JniHandleOwnership transfer)
: base(() => new App(), javaReference, transfer)
{
ConfigureUniversalImageLoader();
}

private static void ConfigureUniversalImageLoader()
{
// Create global configuration and initialize ImageLoader with this config
ImageLoaderConfiguration config = new ImageLoaderConfiguration
.Builder(Context)
.Build();

ImageLoader.Instance.Init(config);

ImageSource.DefaultImageLoader = ImageLoader.Instance.LoadImageAsync;
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using Android.Widget;

namespace Demo
{
[Activity(
MainLauncher = true,
ConfigurationChanges = global::Uno.UI.ActivityHelper.AllConfigChanges,
WindowSoftInputMode = SoftInput.AdjustPan | SoftInput.StateHidden
)]
public class MainActivity : Microsoft.UI.Xaml.ApplicationActivity
{
}
}

Loading

0 comments on commit 69c0afd

Please sign in to comment.