0

What is the difference between adding dependency 'com.android.support:appcompat-v7' and 'com.android.support:appcompat-v7:23.0.0' in android gradle.

Because am trying to use quinny898 persistentsearch library which is not supporting in 23.0.0 as ActionBarActivity is deprecated in new versions.

IntelliJ Amiya
  • 74,896
  • 15
  • 165
  • 198
jomin v george
  • 1,299
  • 11
  • 26

1 Answers1

1

ActionBarActivity is deprecated. You should use AppCompatActivity.

Please read v7 Support Libraries .I hope it will helps you .

Android Support Library package contains several libraries that can be included in your application. Each of these libraries supports a specific range of Android platform versions and set of features.

The important features and version support provided by the Support Libraries to help you decide which of them you should include in your application. In general, we recommend including the v7 support and v7 appcompat libraries, because they support a wide range of Android versions and provide APIs for recommended user interface patterns.

v7 Libraries

There are several libraries designed to be used with Android 2.1 (API level 7) and higher. These libraries provide specific feature sets and can be included in your application independently from each other.

v7 appcompat library

This library adds support for the Action Bar user interface design pattern.

android:versionCode

An integer value that represents the version of the application code, relative to other versions. The value is an integer so that other applications can programmatically evaluate it.

Courtesy goes to Difference between android-support-v7-appcompat and android-support-v4

Community
  • 1
  • 1
IntelliJ Amiya
  • 74,896
  • 15
  • 165
  • 198