GithubHelp home page GithubHelp logo

click-counterapp's Introduction

Click Counter App

Overview

This is a simple Android application that displays a counter on the main screen in a TextView. The counter's initial value is set to 0, and each time the TextView receives clicks, the counter is incremented. The unique feature of this app is that even if the user rotates the screen, the counter value remains intact.

Features

  • Interactive counter displayed using a TextView.
  • Increment of the counter upon TextView clicks.
  • Persistent counter value even when the screen is rotated.

Technology Stack

  • Programming Language: [Java]
  • Platform: [Android]
  • Integrated Development Environment (IDE): [Android Studio]

Screenshots

Main Screen Portrait Main Screen Landscape

Usage

  1. Clone this repository: [git clone https://github.com/your-username/click-counter-app.git](https://github.com/YeffersonSilva/Click-CounterApp.git)
  2. Open the project in Android Studio.
  3. Run the application on an Android emulator or device.
  4. Click on the TextView to increment the counter.
  5. Rotate the screen to observe the persistent counter value.

Implementation Details

The persistent counter value is maintained using the Android lifecycle methods and saving instance state. This ensures that even when the screen orientation changes, the counter value is not lost.

Contributions

Contributions are welcome! If you have any suggestions, encounter issues, or want to improve the app, feel free to open an issue or submit a pull request.

Feel free to fork and modify the project as needed.

click-counterapp's People

Contributors

yeffersonsilva avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.