hi,
not sure if this is possible, in .Net there is paging for a data grid,
can we do the same thing for a ListView/GridView in android? what i
want to do is to have either of the following:
1) in the view i want to have an image, a line of text, and then
programmatically switch to the "next page" with a different image and
line...
I have a table in my view controller (let's call it TVC1). I have rows in TVC1 that are used so the user can input some more data in addition to the data on TVC1. So, when someone taps a specific row in TVC1, it will show another view controller (let's call it TVC2). However, when TVC2 is shown, all of the data in TVC1 is cleared. How ca...
I've seen examples of overlay views in different iPhone apps (Skype, Phone.app (while making a call), Google Mobile) and I was wondering how I could do the same in an app.
I'm making an app which has a record button in it and when that button is pressed, I want a nice looking overlay (similar to the overlay view that appears when making...
I've just received a lot of good responses to the question about making overlay views.
http://stackoverflow.com/questions/2253334/is-there-a-way-that-i-can-make-an-overlay-view-on-the-iphone-sdk
Another question I have is how to make an overlay view have round edges like in the Skype iPhone app or in the Phone.app.
Thanks.
...
I am closely following the instructions given in the tutorial "Your First iPhone Application" on apple ADC.
In the interface builder, I have set up a button positioned on the top according to the Apple Interface Guidelines. It runs without trouble if I simulate the interface in IB. However, if I run the built app, I get what is shown he...
I am still pretty new to Android development, and I have not been able to find any examples of how to do this.
In my Activity, I use "setContextView(new myViewClass)" to designate a View-extended class as the one to load. Everything works fine in terms of loading the view, where I create various elements (LinearLayouts, buttons, etc.) ...
Hi,
I have a table view and when I drop something on it, I get a blue focus inside it. Now, iTunes has the same behavior but in iTunes the color of the line is a lighter blue and the line is thicker. I have added a picture to explain it better. I want to achieve the same thing but I don't know why.
The Image: http://img502.imageshack.u...
I have a constant that is only used in views, but it's used in different ways in different places. It's an array of option names, and is used for select boxes, but I also use this in other views to see if strings are found in this array, and respond accordingly.
What's the best way to handle this to keep DRY?
I initially created a con...
Hello,
its said that 1 ViewModel has 1 View.
1 View is for me a UserControl. What if my UserControl has different areas filled with data from different entities, do I have then several Views and need to build several ViewModels?
e.g: I display in a UserControl 3 entities: customer(listbox),order(datagrid),product(datagrid). Each of th...
Hi, this a very basic question but i don't know how to make pop a view over the tabbarcontroller for exemple i got a tabbar and i got a 'add' baritembutton
and i want a view to come from down and don't see the tabbar anymore.
thx
...
How come this won't switch views for me? When I click the button it does nothing...
-(IBAction)howtoplayButtonClicked{
howToPlayViewController = [[HowToPlayViewController alloc] initWithNibName:@"HowToPlayViewController" bundle:nil];
[self.navigationController pushViewController:howToPlayViewController animated:YES];
[HowToP...
I have 3 views in my app. Main view has 2 buttons and when selected it displays 2nd view(which again has buttons and displays a 3rd view with images). I have a home button on second view. When pressed I want to show the main view. I can do this if I add the 2nd view as subview
[self.view addSubview:secondViewController.view]
But whenev...
How can I accomplish gridview sorting in client browser using javascript ? without using inbuilt gridview sorting method. I really dont want the gridview to go to the DB each time while sorting.
...
I have a view like this:
CREATE VIEW MyView AS
SELECT Column FROM Table WHERE Value = 2;
I'd like to make it more generic, it means to change 2 into a variable. I tried this:
CREATE VIEW MyView AS
SELECT Column FROM Table WHERE Value = @MyVariable;
But mysql doesn't allow this.
I found an ugly workaround:
CREATE FUNCTION Ge...
I have 3 view controllers. Main view (controller1's view) is displayed first. Based on button selection the 2nd view (controller2's view) is displayed. There are several buttons and a home button on this view. Selecting those will display 3rd view (controller3's view) with animation.Selecting home button will display the main view(contro...
I'm coding for the iPhone and wondering if I need to include UIKit in every file that code or is there a better rule as to when to do so and when you don't have to?
Thanks!
...
Hello there :)
I want to do some data processing (in a thread) right after my main Activity starts. For that data processing to be started I also need to know a visible size of my main View (which is a LinearLayout currently, but whatever).
I wonder how to do that. I.e. I wonder what is the entry point (callback?) I should use to be su...
I'm trying to achive the following programmatically (rather than declaratively via XML):
<RelativeLayout...>
<TextView ...
android:id="@+id/label1" />
<TextView ...
android:id="@+id/label2"
android:layout_below: "@id/label1" />
</RelativeLayout>
In other words, how do I make the second TextView appear below the...
I've created an Audit table for an ASP.NET MVC application to track key changes and actions. I want to present the contents of this table to authorized users in an easily readable format on the view.
The Audit table is (simplified) like so:
ID (int) | StaffID (int) | Action (string) | Timestamp (datetime)
------------------------------...
I've seen a few example of similar things and i've also looked at the KiGG application which also uses a dialog box to display the login box. I'm pretty new to MVC but making some good progress and i'm looking to add a bit of candy for a demo i need to perform next week.
Does anyone have an simple example or could describe the steps i n...