Skip to content

Commit

Permalink
Clean up deprecations (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
mars885 authored Aug 6, 2024
1 parent cfd6913 commit df4d098
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 24 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ allprojects {
}

val clean by tasks.registering(Delete::class) {
delete(buildDir)
}
delete(layout.buildDirectory)
}
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

plugins {
`kotlin-dsl`
`kotlin-dsl-base`
}

repositories {
Expand Down
17 changes: 0 additions & 17 deletions persistentsearchview/src/main/AndroidManifest.xml

This file was deleted.

4 changes: 1 addition & 3 deletions sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
~ limitations under the License.
-->

<manifest
package="com.paulrybitskyi.persistentsearchview.sample"
xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<application
android:allowBackup="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ internal class DemoActivity : AppCompatActivity(), View.OnClickListener {
.start()
}

Handler().postDelayed(runnable, 1000L)
Handler(Looper.getMainLooper()).postDelayed(runnable, 1000L)

persistentSearchView.hideLeftButton(false)
persistentSearchView.showProgressBar()
Expand Down

0 comments on commit df4d098

Please sign in to comment.