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

How do I structure my Xamarin app to ensure crossplatform functionality?
Xamarin studio - ignore package updates?
Refresh ScrollView after modification of its children's size
PlusClass.PeopleApi.GetCurrentPerson( … ) returning null
Xamarin Forms - Access Embedded Image from UWP Custom ImageRenderer
How to Compress Image but not resize it Using Xamarin IOS?
Unable to debug on remote android emulator with Visual Studio 2015 with Xamarin
How to fit a picture inside vertical stack layout?
TextCellRenderer in Xamarin.UWP
MvvmCross + Xamarin.iOs workflow
Can't upgrade Xamarin.Forms NuGet package for Android project
Xamarin.iOS UITableView programmatically hide separator lines
windows doesn't startup when I install visual studio emulator for android
Xamarin UI Test Determine Platform
passing string data from Android MainActivity to PCL TabbedPage xamarin.form
How to get monitor EDID in OSX?

Categories

HOME
xamarin
ionic-framework
osgi
date
keycloak
dictionary
gis
disassembler
ebean
django-imagekit
node-notifier
maude-system
postgres-xl
collectd
alignment
percona
dynamics-crm-online
ghc
systemc
pythonanywhere
interop
viewport
custom-wordpress-pages
conemu
mmap
tibco-mdm
format-specifiers
firebase-crash-reporting
poltergeist
wpfdatagrid
greendao
google-cloud-nl
flink-streaming
r-raster
bluestacks
column-family
overriding
swisscomdev
unspecified
ansible-playbook
splice
preconditions
gzipstream
nxlog
import-from-excel
node-sass
azure-application-gateway
paxos
pnotify
jlink
elgg
csound
ifs
akka-cluster
yt-project
wdf
google-feed-api
nxt
url-masking
measures
qpid
firebaseui
persist
prettytensor
blackberry-10
superstack
packagist
bluemix-app-scan
wapiti
qdialog
jqgrid-formatter
streambase
truevault
modalpopup
mdt
device-manager
neolane
project-planning
c18
dotnetnuke-5
type-equivalence
angularjs-controller
browser-detection
hamiltonian-cycle
bitsharp
gdata-api
online-compilation
amazon-appstore
php-parser
window-management
javax.script
ecl
site.master
h.323
nsviewanimation
vc90
firefox-5
brewmp
swing-app-framework
genealogy
ajax-forms

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