Android Question how to start ?

cfrentz

Member
Licensed User
Longtime User
I am new to B4A, but made my first experiences.
Currently I am reading multiple post and do not know how to start.
My goal is to create a app which follows a logic :
- start up app should show a list where items come from database (so far no problem)
- in list view I want to implement filter & sort capability
- when clicking on a list item it should hide main list view
- and show up a second view with multiple tabs
- where each tab should hold multiple elements (button , edittext ...)
- I do not want to use layoutfile, it should support dynamical creation of tab elements
- tabs should be slideable (this is not a must)
- and finally if I close (via button) one of these tabs all tabs in this view should hide
- and show up main list view again

I had a look at StActionBar, AHactionbar, TabStripViewPager ...
but not shure were to start !

Can you give me a hint which library to start with ?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
TabHost is a good solution if you want to show multiple layouts in the same page.

I do not want to use layoutfile, it should support dynamical creation of tab elements
You can always add more views programmatically. I recommend you to start with the visual designer. Anchors and the designer script will make it much easier to implement a flexible layout.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…