Question: hi I have an `UITableView`. It loads numberof data from a web service. What I want to load this tableview 10 by 10.Initially it loads first 10 items. When user scroll to the end of the `UITableView` it should load next 10 of records from the server. so in my `scrollviewDidEndDeclarating` delegate I put like this

`

```
 if (scrollView.tag==24) {

    [self performSelector:@selector(loadingalbumsongs:) withObject:nil afterDelay:0.1];
}`

```

but the problem is when I stop the scroll it is getting stuck untill load the table view. Can anybody give me a solution for this

Thanks

Answer: 
`getClass().getDeclaredField` is used to get the value of a `field` reflectively.The statement 

```
 Date d1 = (Date) o1.getClass().getDeclaredField("StampDate").get(o1);

```

will return the value for the field `StampDate`. As it is throwing `java.lang.NoSuchFieldException` it means this field is not present in the class or there is some spelling mistake. Try changing `StampDate` to `stampDate`.

`getDeclaredField` gives all fields declared in the current class (not of any base classes) and `getField` gives all public field up the entire class hierarchy. If the `StampDate` is declared in any of the super classes, you can access that by using `getField`.
You are attempting to get a Field that doesn't exist.