my main activity shows the following errors -
class MainActivity must either be declared abstract or implement abstract method OnConnectionSuspended(int) in ConnectionCallbacks
due to this method -
public class MainActivity extends ActionBarActivity implements GoogleApiClient.ConnectionCallbacks,
GoogleApiClient.OnConnectionFailedListener,
View.OnClickListener{
so when I add abstract
to the class declaration like this
public abstract class MainActivity
I get the following error in my AndroidManifest.xml
com.myfork.myfork.MainActivity is not a concrete class
here
android:name=".MainActivity"
When I try to run after adding abstract
I get the message the unfortunately the app has stopped
What could be the problem?