Good morning, I am doing a data synchronization exercise on this page https://www.develou.com/como-syncronizar-sqlite-con-mysql-en-android/ , I am at step 25, but I don't know How can I replace the extend since my project does not have it and the example is from an old version as I understand it.
This is the exercise code
public class MainActivity extends AppCompatActivity
implements LoaderManager.LoaderCallbacks<Cursor>
This is the code of my exercise
public class MainActivity {
}
My build.gradle
is configured with this version
compileSdkVersion 30
buildToolsVersion "30.0.3"
The current projects must use Android X so you must use the import:
and your class
MainActivity
would extend fromAppCompatActivity
: