xamarin


Replace Xamarin forms page without pushasync


I've searched through numerous online posts and can't find a suitable answer for this scenario. It's a pretty common requirement. I have a Xamarin.Forms app with a login page and listing page. When the app is started, the login page is displayed. When they login successfully, I want to display the listing page and prevent them from backing up by clicking on the toolbar back button or the hardware back button.

Change the MainPage
when you start the app you should have
Application.Current.MainPage = new LoginPage();
after login, something like
Application.Current.MainPage = new MyFirstPageAfterLogin();


Related Links

CrossGeolocator.Current.GetPositionAsync Gives null Exception Xamarin.Forms
Xamarin with Visual Studio 2015 Professional
Could not load type 'Xamarin.Forms.Internals.NameScope' from assembly 'Xamarin.Forms.Core, Version=2.0
Xamarin Studio 6.0
How to create google play menu in xamarin
Xamarin iOS - Add Actions to UIWebView selected text
Do I need to recreate bindings, if the native framework changes?
Cannot update Xamarin for Visual Studio
Error CS7069: Reference to type System.IO.FileInfo'
'Cannot access a disposed object' in Xamarin Forms custom renderer
Xamarin interface changed to MonoDevelop
Waiting for Realm writes to be completed
Xamarin.IOS throws NullRefrenceException when using outlit
Twilio programmable video for Xamarin
ExifLib.Pcl is referenced but Windows Phone fails loading
Xamarin.Forms crash (on Android) - Could you help debug this StackTrace?

Categories

HOME
ms-access
compiler-construction
asp.net-core
image-processing
frameworks
blueprintjs
fingerprint
portia
slurm
kibana-4
phaser
static-libraries
visual-studio-2005
aurigma
invantive-sql
beyondcompare
lldb
one-hot-encoding
cx-freeze
excel-2007
chromium-embedded
zurb-foundation-6
one-to-many
apache-commons-io
phpfox
fgetcsv
assistant
google-sites-2016
code-contracts
form-data
android-kernel
wixsharp
overlap
suricata
withings
code-search-engine
ssjs
hue
tasker
nand2tetris
eigenvalue
total-commander
s
executenonquery
jsch
atomicity
jquery-nestable
kbuild
imanage
jspdf-autotable
gnome-shell-extensions
time-and-attendance
radtreelist
bonobo
fody
xml-attribute
superstack
suffix-tree
ipconfig
freedesktop.org
eclipse-clp
intellij-14
mutation-observers
purge
embedded-code
vstest.console.exe
inmobi
truevault
c++03
tween
javafx-webengine
nsbutton
wordpress-theme-customize
srs
intentservice
ivyde
easy-install
sqlperformance
pvrtc
javaspaces
viewswitcher
wse3.0
uiviewanimation-curve
transactionscope
netdna-api
gnustep
krl
sql-server-profiler
yslow
infrastructure
castle-monorail
multi-tier
eqatec
pascal-fc
text-coloring
rtml
caching-application-block





Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm