Search Results

Search found 2 results on 1 pages for 'user443141'.

Page 1/1 | 1 

  • Stuck in implementing Pagination in Android

    - by user443141
    I am implementing pagination for ListView in Android . I am extending the BaseAdapater class for customising the ListView. Already I have the code working fine for the Customised ListView. Below is the new requirement. 1I am fetching 6 items from server & displaying them . Now when the user scrolls to the 6th item(end of list) , I need to call the server to fetch the next 6 items & update the Listview I have overriden the methods ipublic void onScroll(AbsListView view, int firstVisibleItem,int visibleItemCount, int totalItemCount) iipublic void onScrollStateChanged(AbsListView view, int scrollState) In the first response from the server, I get the total no of pages from the server & for each time I call the server , I get the current page value . Kindly provide me the steps/sample code on how to check the last item of the list & update the list . The code should be iterative since I may need to call multiple times & fetch from server. Warm Regards, CB

    Read the article

  • Problem using VideoView in Android

    - by user443141
    Hi, I am using VideoView in Android for displaying streaming videos. While playing the videos if a user receives & disconnects the call , the video starts playing from beginning instead of the behaviour which should be that after the call disconnection , the video should start playing from the same place when the call was received. Kindly provide your suggestions/sample code if you have already implemented the same. Warm Regards, CB

    Read the article

1