Questions tagged [master-detail]

1340 questions
187
votes
14 answers

UISplitViewController in portrait on iPhone shows detail VC instead of master

I am using a Universal Storyboard in Xcode 6, targeting iOS 7 and above. I've implemented a UISplitViewController which is now natively supported on iPhone running iOS 8, and Xcode will automatically backport it for iOS 7. It's working really well,…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
75
votes
8 answers

Sharing data between fragments using new architecture component ViewModel

On Last Google IO, Google released a preview of some new arch components, one of which, ViewModel. In the docs google shows one of the possible uses for this component: It is very common that two or more fragments in an activity need to communicate…
31
votes
2 answers

Creating master-detail pages for entities, how to link them and which bean scope to choose

I have started learning JSF, but sadly most tutorials out there present only a log in or a register section. Can you point me to some more in depth examples? One thing I'm interested in is a page presenting a list of products. I'm on page home and I…
TGM
  • 1,659
  • 10
  • 30
  • 45
23
votes
2 answers

ASP.NET MVC example of editing multiple child records

Does anyone know of any examples or tutorials of an MVC view that shows parent/child data all on one form, and allows all the child records to be editable? For example, say I have a table of people and another containing the vehicles they own. One…
gfrizzle
  • 12,419
  • 19
  • 78
  • 104
20
votes
6 answers

ASP.NET MVC Master Detail Entry Form

I’m trying to implement an order entry form using ASP.NET MVC but facing a lot of difficulties. All the samples that I found are related to viewing master detail forms, and none for adding or editing. Suppose I have two tables: Order and…
Emad
  • 231
  • 1
  • 2
  • 5
13
votes
1 answer

How to use Master/Detail Flow together with Tabs on Android

I want to achieve the following layout to my android-application (upper layout for tablets, lower layout for smartphones) including the capability of swiping between the subitems: So I've created a Master/Detail-Flow Activity with Eclipse, which…
Alexander Pacha
  • 9,187
  • 3
  • 68
  • 108
13
votes
5 answers

Create new parent and child on the same page

My MVC application has a classic parent-child (master-detail) relations. I want to have a single page that create both the new parent and the children on the same page. I have added an action the returns a partial view that and adds the child HTML…
12
votes
3 answers

Change detail view from MasterDetail iPad app using storyboard

I'm little lost here. I have a basic master-detail aplication, and I want to change the detail view according to the selected row in MasterViewController, but the views have different content, one has an image gallery, and the other one will load a…
Vinícius Albino
  • 527
  • 1
  • 7
  • 23
12
votes
1 answer

Swift 3 - UISplitViewController - Hide/Expand Master View in Landscape (e.g. Notes App)

Just started with Swift and would like to replicate some functionality present in the standard Apple 'Notes' app. Specifically the Expand button that appears in the Details View when on iPad in landscape mode. i.e. The closest I have come (as a…
11
votes
1 answer

How to show details of current row from p:dataTable in a p:dialog and update after save

I have a JSF 2 application that has two pages, one to list students and one to show details of a given student. The listing page has a link to the details page in each row of the students table, that opens a new tab in browser to show those details,…
AlexSC
  • 1,823
  • 3
  • 28
  • 54
10
votes
2 answers

Xamarin Forms MasterDetail page navigation causing crash on android [Fatal signal 6 (SIGABRT), code -6], Works on iOS and UWP

I have a Master Detail like below public partial class LeaguesMDPage : MasterDetailPage { public LeaguesMDPage() { InitializeComponent(); Master = new LeaguesPage(); Detail = new NavigationPage(new DivisionsPage(new…
schnabs
  • 125
  • 10
10
votes
3 answers

Swift: how to detect if UISplitViewController is currently showing 1 or 2 controllers?

How can I detect if the UISplitViewController is currently just showing 1 view controller or it's in dual-pane with 2 views controllers shown side-by-side?
Daniele B
  • 19,801
  • 29
  • 115
  • 173
10
votes
1 answer

UITabBarController inside master of UiSplitViewController

I want to achieve the same flow as Facebook messenger app, with a tab bar controller inside the master view. See Ive done exactly as described in this answer Create a TabBar Controller with a Master-detail template? However! It does not work…
Zeezer
  • 1,503
  • 2
  • 18
  • 33
10
votes
1 answer

How to customize arrow icon, page icon and page title in MasterDetailPage - Xamarin.Forms

I have created a new Blank App (Xamarin.Forms Portable) project in Visual Studio 2015 and modified App.cs to get "hamburger menu": public class App : Application { public App() { var masterPage = new ContentPage() { …
Ladislav Margai
  • 1,932
  • 3
  • 17
  • 28
10
votes
3 answers

Xamarin.Forms - Master/detail page and navigation history issue

I have an app which uses masterdetail page to show menu in all page. The navigation is happened in two way in my app. one from the menu and second way from Dashboard. so if i navigate to another page, and then press "BACK" button, it closes the…
SoftSan
  • 2,482
  • 3
  • 23
  • 54
1
2 3
89 90