This repository has been archived by the owner. It is now read-only.
File tree Expand file tree Collapse file tree
MvvmCross.Droid.Support.V4 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8585 <Compile Include =" MvxFragmentViewExtensionMethods.cs" />
8686 <Compile Include =" MvxSwipeRefreshLayout.cs" />
8787 <Compile Include =" MvxTabsFragmentActivity.cs" />
88+ <Compile Include =" MvxWakefulBroadcastReceiver.cs" />
8889 <Compile Include =" Properties\AssemblyInfo.cs" />
8990 <Compile Include =" MvxFragmentStatePagerAdapter.cs" />
9091 <Compile Include =" MvxCachingFragmentPagerAdapter.cs" />
Original file line number Diff line number Diff line change 1+ using System ;
2+ using Android . Content ;
3+ using Android . Runtime ;
4+ using Android . Support . V4 . Content ;
5+ using MvvmCross . Droid . Platform ;
6+
7+ namespace MvvmCross . Droid . Support . V4
8+ {
9+ public abstract class MvxWakefulBroadcastReceiver : WakefulBroadcastReceiver
10+ {
11+ protected MvxWakefulBroadcastReceiver ( IntPtr javaReference , JniHandleOwnership transfer )
12+ : base ( javaReference , transfer )
13+ {
14+ }
15+
16+ protected MvxWakefulBroadcastReceiver ( )
17+ {
18+ }
19+
20+ public override void OnReceive ( Context context , Intent intent )
21+ {
22+ var setup = MvxAndroidSetupSingleton . EnsureSingletonAvailable ( context ) ;
23+ setup . EnsureInitialized ( ) ;
24+ }
25+ }
26+ }
You can’t perform that action at this time.
0 commit comments