Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our W3Make Forum to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Difference between fragment and an activity
Activities represent individual screens, while fragments are reusable UI components within activities. Activities have their own lifecycle, while fragments' lifecycle is tied to the hosting activity. Activities handle navigation and overall lifecycle, while fragments provide modularity and flexibiliRead more
Activities represent individual screens, while fragments are reusable UI components within activities. Activities have their own lifecycle, while fragments’ lifecycle is tied to the hosting activity. Activities handle navigation and overall lifecycle, while fragments provide modularity and flexibility within an activity.
See lessHow to show progress bar after clicking download button
Add a <div> element with an ID to represent the progress bar, like <div id="progressBar"></div>. After adding progress bar You can use setTimeout or setInterval to repeatedly update the width of the progress bar until the download is complete.
Add a <div> element with an ID to represent the progress bar, like <div id=”progressBar”></div>.
After adding progress bar
You can use setTimeout or setInterval to repeatedly update the width of the progress bar until the download is complete.
See lessHow to decide whether to use DELETE statement or DROP statement while creating mySQL queries?
Use the `DELETE` statement when you want to remove specific rows from a table while keeping the table structure intact. Use the `DROP` statement when you want to permanently delete an entire table or database, including its data and structure. Be cautious as this operation cannot be undone.
Use the `DELETE` statement when you want to remove specific rows from a table while keeping the table structure intact.
Use the `DROP` statement when you want to permanently delete an entire table or database, including its data and structure. Be cautious as this operation cannot be undone.
See less