Questions tagged [master-detail]

A master–detail interface displays a master list and the details for the currently selected item.

A master–detail interface displays a master list and the details for the currently selected item. Selecting an item from the master list populates the details area with the details for that item.

1271 questions
183
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
  • 45,794
  • 29
  • 162
  • 306
61
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…
27
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,589
  • 10
  • 28
  • 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
  • 11,919
  • 19
  • 74
  • 102
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
  • 7,455
  • 3
  • 56
  • 87
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
  • 403
  • 6
  • 21
11
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…
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
  • 9
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,885
  • 3
  • 14
  • 25
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,382
  • 3
  • 20
  • 53
9
votes
3 answers

Xamarin.Forms Hamburger Menu Icon gone after Update to Xamarin.Forms 2.2

After I updated my Xamarin.Forms project from Xamarin.Forms 2.0 to Xamarin.Forms 2.2, the Hamburger Icon is gone. I've googled without luck, has anybody experienced the same issue?
The Chris
  • 543
  • 5
  • 16
9
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
  • 16,703
  • 21
  • 96
  • 154
9
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,403
  • 2
  • 18
  • 31
1
2 3
84 85