Questions tagged [tabview]

Any visual layout that incorporates selectable tabs as an organizational element.

770 questions
3
votes
2 answers

Primefaces tabView executes form validation on tab change

I am having a serious issue with the p:tabView component. I have set dynamic="true" and cache="false" to the tabView. One of the tabs has some input components which are set required="true". Now when I am changing the tab each time, the form…
Tapas Bose
  • 28,796
  • 74
  • 215
  • 331
3
votes
2 answers

stop handler.postDelayed when moving to another tab in tabview

in my apps, i'm using tabview. inside one of the tab i implement a refresh function such as: private final Runnable r = new Runnable() { public void run() { mVar = true; while (mVar == true){ calculateResult(); …
Thomas
  • 55
  • 1
  • 8
3
votes
3 answers

Android Tab Views - could not create tab content because could not find view with id

I am trying to create a tab view with will switch to a different content view by Id. Here is my tab activity: public class TabViews extends TabActivity { @Override protected void onCreate(Bundle savedInstanceState) { …
jimbob
  • 3,288
  • 11
  • 45
  • 70
2
votes
1 answer

How to refresh the webview which is called from Android tabview after once called

How to refresh the webview which is called from Android tabview after once called, for example if i called an activity that is connected with the tabview then it does not refreshes once its called. Is there any way to do that,, Code: public void…
James Mitchee
  • 143
  • 5
  • 16
2
votes
2 answers

How to change Tabview at runtime .?

I want to change Tab view on click on that tab at run time in android. When i m click in Favourites tab then automatically this tab image like Home tab.. Please help me in this. like this Before And after Examples please... Thanks in Advance...
user647826
2
votes
1 answer

SwiftUI onReceive is it possible to get oldValue?

I have a custom TabView and I want to Bind to a State to change tabs. I also want to detect if the user has tapped the same tab again in order to scroll to the top of that view. didSet isn't called when I use a binding. onChange isn't called because…
Dan
  • 543
  • 2
  • 13
2
votes
0 answers

SWIFTUI Tabview makes me long press after embedding in UiHostController, how do I stop this?

I am adding a SwiftUi view to my story board via UIHostController. The integration works and I have full functionality of buttons and image taps, however the Tabview at the bottom of the screen requires a long press in order for the Tabview to work…
2
votes
2 answers

SwiftUI tabview (scroll) events?

Is it possible to attach a scroll change event to a TabView in SwiftUI? I'd like to get the scroll position when the user touches and drags one of the views, which gets updated on every change of the position. TabView { Text("Example…
Rick Waalders
  • 43
  • 1
  • 3
2
votes
1 answer

SwiftUI TabView with simultaneousGesture

I have a TabView with some views that have DragGestures inside. I want to be able to drag the views along with the TabView paging. I am trying to use simultaneousGesture for the drag gesture. This works with a ScrollView but not with a TabView. As…
richy
  • 2,716
  • 1
  • 33
  • 42
2
votes
1 answer

How to add a bottom curve in TabView in SwiftUI?

I just want a Bottom curve in center of my tabView but i am not able to access tabView shape property. This is what i want. Note: The curve should always remain in center. And the items should swap, which is already achieved in the given…
Rehan Ali Khan
  • 527
  • 10
  • 23
2
votes
1 answer

Disable to Change Page On Swipe of Tab View in SwiftUI

I am using Tab View in my SwiftUI app. I want the changing of page disabled, while swiping left or right. And I had achieved it from this. This works fine but the issue I am facing is I have a button on the bottom of every view, and when I try to…
Taimoor Arif
  • 750
  • 3
  • 19
2
votes
2 answers

SwiftUI TabView covers content view

Is it possible to have TabView tabItem to be positioned below the screen content? My layout is: var body: some View { TabView { self.contentView .tabItem { Image(systemName:…
Kurovsky
  • 1,081
  • 10
  • 25
2
votes
1 answer

Nav bar with toolbar buttons on a specific tabview item in swift

I have a TabView with three views (triangle, square and circle) nested inside a navigation view and link. TabView works fine. I'd like to have toolbar buttons for only a specific tabview; say circle. The toolbar modifier adds the buttons on all the…
Phantom59
  • 947
  • 1
  • 8
  • 19
2
votes
1 answer

How to scroll to next tab using TabBarView into TabBarView

I have TabBarView into TabBarView like following //stful late final TabController _controller1 = TabController( length: 3, vsync: this,initialIndex: 0); bottom: TabBar( controller: _controller1, tabs: const [ Tab(text: "Stful1",), Tab(text:…
Mohammed Hamdan
  • 1,006
  • 5
  • 23
2
votes
1 answer

I want to set a background to the TabBar

I don't know how to change the background of the TabBar by an Image (I try to change the background of TabBar, not try to change the TabBar Icon by an Image) I tried to set an background to my TabBar such as the TabBar of the program on the right
Horitsu Potter
  • 107
  • 1
  • 6