Appcelerator: Pagination for Views in IPhone - iphone

I want to show remotely fetched records and want to display in same format as Apple shows Icons on Home Screen. I also want pagination ( the dots on bottom) for indication of currently selected page. How could it be achieved?

I believe you're looking for the ScrollableView component. Use the HTTPClient to retrieve your data from the server, create views/imageviews/etc from the data as appropriate, then add the views as children to the ScrollableView.

Related

best way to present multiple listview

I would like to know your idea about the best method to present several personalized horizontal lists, in the spotfy style.
With different preferences and musical styles.
The best way would be to create several listviews? or structure a database and make it somehow present only a few things on the user's homepage?
any suggestion?
i dont think there would be any problem displaying different list view on home showing few items ( 3 or 4 ) of that list and a button above each listView as View All on tapping using that list all items on that category personal screen
you can add multiple ListView as you can possible Try SingleChildScrollView for multiple ListView or Layouts
Refer Official Docs : docs

UI5 Generic Tile with filter functionality

I have Generic Tiles in my UI5 App. My requirement is to implement the functionality of Icon Tab Bar - Filter (https://sapui5.hana.ondemand.com/explored.html#/sample/sap.m.sample.IconTabBar/preview) for these tiles. I have separate tile for each status and on clicking it should display the list in the table depending on the clicked status eg: 'completed tickets'.
The table and the tiles are in different views. If this is possible please provide suggestions as to how this can be accomplished.
Thanks,
Srinivasan
You could follow the example of the IconTabBar almost literally, and just swap the icons for tiles.
When you press an icon in the IconTabBar in the example, the logic connected to that icon will add a filter to the binding of the table. You should do the same: the logic connected to your tiles, should also change the filter of the table binding. Every tile could result in a different filter to the binding. With that, you would see the table filtered based on the tiles you clicked.
With your table being in a different view than the tiles, you may want to use the router to communicate between the two views. You could e.g. have tile one to navigate to /YourApp/#/Stuff/FilterBySomething and tile two to navigate to /YourApp/#/Stuff/FilterBySomethingElse. In the view containing your table, you should then pick up the filter info and add the filter to the table binding accordingly. More info on how this works can be found in Step 31 of the SAPUI5 walkthough.

JIRA screen for specific status

What I am trying to achieve is, that I can use a specific screen for some status. For example just tickets in the status "New" should contain the "Original Estimate".
What I thought about was building a specific screen for these status and match status and screen. But as I see things, I just can connect screens and transitions or connect a screen to an action like creating an issue.
But both does not fit my needs, cause i want to use different screens in the same workflow for the same action and I do not want to show the screen when changing the transition. I just want to display different screens when editing issues.
Is there a way to do that?
for this kind of scenario I can suggest two ways to do this.
use javascript for a Original Estimate field..for that follow this document using this you can check the status field and show or hide the field accordingly.
2.Use Behaviours plugin for validate the field where the status is match to your requirement.

use of UIpageControl

Can any one explain what is the specific usage of UIPagecontrol in iPhone please.
I am using it for pagination in scroll view. Is there any other specific purpose for it???
Reading documentation for UIPageControl help you to understand uses of pagination.
Pagination, which automatically separates the content in your form into smaller groups of rendered content. When you use pagination, these groups of content are automatically formatted to fit the target device. The form also renders user interface (UI) elements that you can use to browse to other pages.
Here is the more simple explanation
http://www.smashingmagazine.com/2007/11/16/pagination-gallery-examples-and-good-practices/
You can know how many pages are there and also tapping on it ll navigate to next page.

GWT-Ext EditorGridPanel rendering problem

I am using GWT 1.6.4 and GWT-Ext 2.0.6. I am trying to use EditorGridPanel and facing rendering problems.
When the module loads I create a Panel (TopPanel) with BorderLayout and add that to the ViewPort. I then create another Panel (CenterPanel) and add EditorGridPanel, three buttons to the center of the BorderLayout Panel (TopPanel). I tried many layouts for CenterPanel but still not able to get what I want.
I want the table to showup with the required data and scrollbars. All the three buttons comes below the table. The data for the table come via Async call when the module loads, so when the screen is rendered to the user, the data is populated in the table. But looks like the table gets rendered with no data and when the async process finishes the table gets populated but don’t get resized to fit the screen so only show me one row.
The problem is with the Grid, I am not getting any scrollbars. Secondly I don’t want to define the height and width of the Grid. I want it to take as much as possible and show scrollbars, just like we do in html table by setting width and height as 100%.
Thanks
I have found the solution. I had to add the Grid on a panel. I had to set the layout of that panel to FitLayout(). Secondly had to call doLayout() on that panel after loading the Store with the data. I now get the scrollbars for the table as well as it fits the whole available space.