Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you tell if the Fotoappart is Started #29

Closed
markGilchristBookingBug opened this issue May 24, 2017 · 1 comment
Closed

How do you tell if the Fotoappart is Started #29

markGilchristBookingBug opened this issue May 24, 2017 · 1 comment

Comments

@markGilchristBookingBug

could you add a getter for

private boolean started;

so the when I call

@OverRide
public void onPause() {
super.onPause();
fotoapparat.stop();
....
}

I can do

@OverRide
public void onPause() {
super.onPause();
if(fotoappart.isStarted()) fotoapparat.stop();
}

@Diolor
Copy link
Member

Diolor commented May 24, 2017

Hey. Why don't you add the private boolean started; in the class where you are calling FA's start/stop and set it true after you start FA?

We think this method is not needed for everyone to be part of the library, so we would prefer to not expand the API if it can be avoided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants