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

MVVMCross Unified Announcement
Map Annotation Disclosure Indicator - Xamarin.Form
Xamarin.Forms.Labs iOS SMS texting issue
How to populate Picker items before open, using Xamarin.Forms
Xamarin Forms Android cannot find dll
Xamarin expired Visual Studio not opening project for viewing
Worlight.Connect() throwing “Error retrieving device data”
Is it possible to perform Sqlite sync via Azure Mobile Services completely within Xamarin Forms iOS PCL project
Project not Built in Active Configuration - Xamarin/Xamarin.Form
How do you hash a string in a PCL project?
Xamarin ListView Height Issue
Xamarin Form Debug Errors
Xamarin http webservice issue
Xamarin Support Library v7 AppCompat 21.0.0-beta1
SearchView Alway Null in CustomRenderer
No constructor found for … (System.IntPtr, Android.Runtime.JniHandleOwnership)

Categories

HOME
netsuite
magnific-popup
single-sign-on
iterator
stock
routes
gis
leon
jpeg
blueprintjs
swagger-ui
qore
slurm
gorm
maude-system
user-input
google-cloud-spanner
commonmark
task
windows-server-2012
openrefine
tostring
apache-metamodel
alpine
cx-freeze
sox
tapestry
mustache.php
zurb-foundation-6
xpages-ssjs
javacv
status
nhapi
greendao
elasticsearch-ruby
delicious-api
semantic-versioning
hexo
file-format
devextreme
disassembling
xcode-extension
automake
libraries
streamreader
galen
total-commander
businessworks
btrace
jquery-nestable
recursive-datastructures
tactic
zendesk-app
mcafee
jspdf-autotable
parallel-data-warehouse
url-pattern
pcf
plottable.js
connect-by
lua-5.1
whois
pickadate
suffix-tree
rhino-servicebus
photobucket
wordml
iis-arr
muse
android-listview
ionic
census
rake-task
android-imagebutton
asp.net-web-api-odata
titanium-modules
starcluster
picturefill
didselectrowatindexpath
cloud-connect
fmod
c18
plasma
propertyeditor
stage
inotifycollectionchanged
html-input
jquery-ui-droppable
nsviewanimation
sef
geneva-server

Resources

Encrypt Message