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

Xamarin Forms Map - UWP - Zoom Error - Value does not fall within the expected range
Xamarin.Forms, how to find compatible version of Android Support library with my current Xamarin.Forms
Xamarin iOS simulator build
Binding for Evernote's android-job
Xamarin.Forms: Move to .NET Standard
How to load PCL's App class from Win Phone 8.1 RT project
How to rerun visual studio and xamarin emulator network setings
Make NavigationBar do not render at all or display page only when completly loaded
How to create a code-only webview with Xamarin.Forms
Test in cloud button has gone
MvvmCross MvxSpinner does not update after re-entering
Unable to deploy to iOS device: Failed to resolve “System.Configuration.ConfigurationException”
Custom font not displaying on Android with Xamarin Forms and Prism
Is it required to have a Xamarin account in order to build Xamarin projects in VS 2017
How to use auto scroll in Xamarin forms
How to create constraint in Xamarin iOS

Categories

HOME
maven
java
urbancode
azure-data-factory
hashmap
fft
malloc
yum
acquia
amazon-cloudformation
cloudkit
offline
imacros
nstableview
zebra-printers
jsdoc
normalizr
text-rendering
nhibernate-envers
kryo
clickonce
intentfilter
arabic
android-widget
opennlp
fish
spark-jobserver
facebook-access-token
internet-explorer-9
wtx
facebook-apps
windowbuilder
http-status-code-503
exuberant-ctags
pdb
http-get
geopositioning
plsql-psp
gesture
starteam
uft-api
splice
squib
quadratic-programming
keydown
flashair
qcombobox
scorm
youcompleteme
atomicity
dds
errordocument
jspdf-autotable
crosswalk-runtime
migradoc
pyke
javax.sound.midi
srand
ruby-2.2
jqgrid-formatter
rgeo
muse
deis
mono-embedding
createprocessasuser
oberon
javax.mail
ceil
typeof
sgen
mysql-error-1062
kgdb
braille
oracle-warehouse-builder
java.nio.file
uv-mapping
geos
jsctypes
google-cloud-save
easy-install
mylyn
pushbackinputstream
jquery-mobile-dialog
sqlperformance
free-variable
browser-detection
bitsharp
coderush
viewswitcher
php-parser
gcj
xmemcached
winbugs14
datareader
createwindow
infrastructure
jquery-ui-droppable
xsdobjectgen
compiler-specific
noscript
project-hosting
sector
geneva-server
dbisam
wsdl.exe
windows-live-messenger

Resources

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
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App