About 418,000 results
Open links in new tab
  1. android - Adding a refresh button to my activity - Stack Overflow

    Aug 4, 2012 · Have the button's execution code refresh the listviews by requerying and reassigning the adapter. Try it. Start Implement the refresh code for in your activity.

  2. java - Refreshing a button in Android - Stack Overflow

    Sep 17, 2012 · You should post the whole code from the onClick() method because there is probably something that take a long time and prevent the UI thread from leaving the onClick() …

  3. Pull to Refresh with RecyclerView in Android with Example

    Feb 6, 2025 · Pull to Refresh is used to update the data within the list in our android application. For implementing this we have to use Swipe to Refresh Layout. Using this widget when the …

  4. java - ( Android ) Webview refresh button - Stack Overflow

    Sep 23, 2015 · There many possible way to reload your webview: You can reload your web view or you can use below code : on your button click.

  5. Add swipe-to-refresh to your app | Views | Android Developers

    Feb 10, 2025 · Add a refresh action to your app's action bar so users who can't perform swipe gestures can trigger a manual update. For example, users with accessibility needs can trigger …

  6. Pull to Refresh with ListView in Android with Example

    Apr 7, 2025 · It uses a vertical swipe gesture to refresh the content of the views. SwipeRefreshLayout widget detects the vertical swipe and display distinct progress bars and …

  7. Respond to a refresh request | Views | Android Developers

    Feb 10, 2025 · To respond to the refresh gesture in your app, implement the SwipeRefreshLayout.OnRefreshListener interface and its onRefresh() method. The …

  8. Swipe Down to Refresh in Android Java | by Hasper Ong - Medium

    Mar 17, 2024 · Begin by integrating a SwipeRefreshLayout into your app’s layout XML file, encapsulating the content you want to refresh. Then, in your Java code, listen for the …

  9. Pull to refresh in Android - DEV Community

    Mar 28, 2021 · Pull to refresh is a gesture that the user can make to update the screen, such as reloading the feed for Instagram or Twitter. Let's see in this article how to built Pull to Refresh …

  10. Different Ways to Programmatically Restart an Android App on Button

    Feb 26, 2021 · Now the point that comes here is how we can Programmatically Restart an Android App on Button Click. So in this article, we are going to discuss three different methods …

  11. Some results have been removed
Refresh