S
S
samarjan2014-07-31 12:31:22
Android
samarjan, 2014-07-31 12:31:22

How to organize the application logic with custom tabs?

It is necessary to make an application whose sections are switched using tabs, which will be in the iOS style, for this I did not use TabHost and TabWidgets, but used my own LinearLayout (it was easier to customize each tab, since they are created completely dynamically, loading the configuration from the server) . As a content display, I used WebView and for each tab (section) I created a fragment, inside of which this WebView was located. I want to ask more experienced developers: wouldn't it be better to limit ourselves to only one Activity and a WebView in it to display content. It just arose the need to also recreate the header and menu, which are also completely custom and well formed in the onCreateView method of the fragment.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question