mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-29 20:37:12 +01:00
Update a bunch of libraries
This commit is contained in:
parent
e464082964
commit
92c76f2e12
@ -46,7 +46,7 @@ dependencies {
|
|||||||
implementation 'androidx.biometric:biometric:1.2.0-alpha03'
|
implementation 'androidx.biometric:biometric:1.2.0-alpha03'
|
||||||
implementation 'androidx.browser:browser:1.3.0'
|
implementation 'androidx.browser:browser:1.3.0'
|
||||||
implementation 'androidx.cardview:cardview:1.0.0'
|
implementation 'androidx.cardview:cardview:1.0.0'
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.0-beta02'
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
|
||||||
def lifecycleVersion = "2.2.0"
|
def lifecycleVersion = "2.2.0"
|
||||||
implementation "androidx.lifecycle:lifecycle-common-java8:2.3.1"
|
implementation "androidx.lifecycle:lifecycle-common-java8:2.3.1"
|
||||||
implementation "androidx.lifecycle:lifecycle-livedata:$lifecycleVersion"
|
implementation "androidx.lifecycle:lifecycle-livedata:$lifecycleVersion"
|
||||||
@ -57,13 +57,13 @@ dependencies {
|
|||||||
implementation "androidx.paging:paging-runtime:$pagingVersion"
|
implementation "androidx.paging:paging-runtime:$pagingVersion"
|
||||||
implementation "androidx.paging:paging-guava:$pagingVersion"
|
implementation "androidx.paging:paging-guava:$pagingVersion"
|
||||||
implementation 'androidx.preference:preference:1.1.1'
|
implementation 'androidx.preference:preference:1.1.1'
|
||||||
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
||||||
def roomVersion = "2.3.0"
|
def roomVersion = "2.3.0"
|
||||||
implementation "androidx.room:room-runtime:$roomVersion"
|
implementation "androidx.room:room-runtime:$roomVersion"
|
||||||
annotationProcessor "androidx.room:room-compiler:$roomVersion"
|
annotationProcessor "androidx.room:room-compiler:$roomVersion"
|
||||||
implementation 'androidx.startup:startup-runtime:1.0.0'
|
implementation 'androidx.viewpager2:viewpager2:1.1.0-beta01'
|
||||||
implementation 'androidx.viewpager2:viewpager2:1.1.0-alpha01'
|
|
||||||
implementation 'androidx.work:work-runtime:2.5.0'
|
implementation 'androidx.work:work-runtime:2.5.0'
|
||||||
implementation 'com.google.android.material:material:1.3.0-rc01'
|
implementation 'com.google.android.material:material:1.3.0'
|
||||||
|
|
||||||
/** ExoPlayer **/
|
/** ExoPlayer **/
|
||||||
def exoplayerVersion = "2.10.8"
|
def exoplayerVersion = "2.10.8"
|
||||||
@ -105,7 +105,7 @@ dependencies {
|
|||||||
annotationProcessor "org.greenrobot:eventbus-annotation-processor:$eventbusVersion"
|
annotationProcessor "org.greenrobot:eventbus-annotation-processor:$eventbusVersion"
|
||||||
|
|
||||||
// TransactionTooLargeException avoidance
|
// TransactionTooLargeException avoidance
|
||||||
implementation 'com.github.livefront:bridge:v1.3.0'
|
implementation 'com.github.livefront:bridge:v2.0.2'
|
||||||
|
|
||||||
// Bundle-saving without boilerplate
|
// Bundle-saving without boilerplate
|
||||||
// NOTE: Deprecated
|
// NOTE: Deprecated
|
||||||
@ -115,16 +115,16 @@ dependencies {
|
|||||||
|
|
||||||
// Object to JSON
|
// Object to JSON
|
||||||
// NOTE: Replace with Squareup's Moshi?
|
// NOTE: Replace with Squareup's Moshi?
|
||||||
implementation 'com.google.code.gson:gson:2.8.6'
|
implementation 'com.google.code.gson:gson:2.8.8'
|
||||||
|
|
||||||
// Java library for zip files and streams
|
// Java library for zip files and streams
|
||||||
implementation 'net.lingala.zip4j:zip4j:2.7.0'
|
implementation 'net.lingala.zip4j:zip4j:2.9.0'
|
||||||
|
|
||||||
// IO functionality
|
// IO functionality
|
||||||
implementation 'org.apache.commons:commons-io:1.3.2'
|
implementation 'commons-io:commons-io:2.5'
|
||||||
|
|
||||||
// Crash reporting
|
// Crash reporting
|
||||||
implementation 'com.github.FunkyMuse:Crashy:1.1.0'
|
implementation 'com.github.FunkyMuse:Crashy:1.2.0'
|
||||||
|
|
||||||
|
|
||||||
/**** User Interface (frontend) ****/
|
/**** User Interface (frontend) ****/
|
||||||
@ -135,11 +135,11 @@ dependencies {
|
|||||||
annotationProcessor "com.github.bumptech.glide:compiler:$glideVersion"
|
annotationProcessor "com.github.bumptech.glide:compiler:$glideVersion"
|
||||||
implementation 'jp.wasabeef:glide-transformations:4.3.0'
|
implementation 'jp.wasabeef:glide-transformations:4.3.0'
|
||||||
implementation 'com.github.santalu:aspect-ratio-imageview:1.0.9'
|
implementation 'com.github.santalu:aspect-ratio-imageview:1.0.9'
|
||||||
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.21'
|
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.23'
|
||||||
def bivVersion = "1.7.0"
|
def bivVersion = "1.8.1"
|
||||||
implementation "com.github.Piasy.BigImageViewer:BigImageViewer:$bivVersion"
|
implementation "com.github.piasy:BigImageViewer:$bivVersion"
|
||||||
implementation "com.github.Piasy.BigImageViewer:GlideImageLoader:$bivVersion"
|
implementation "com.github.piasy:GlideImageLoader:$bivVersion"
|
||||||
implementation "com.github.Piasy.BigImageViewer:GlideImageViewFactory:$bivVersion"
|
implementation "com.github.piasy:GlideImageViewFactory:$bivVersion"
|
||||||
|
|
||||||
// Markdown
|
// Markdown
|
||||||
def markwonVersion = "4.6.2"
|
def markwonVersion = "4.6.2"
|
||||||
@ -153,20 +153,20 @@ dependencies {
|
|||||||
implementation 'me.saket:better-link-movement-method:2.2.0'
|
implementation 'me.saket:better-link-movement-method:2.2.0'
|
||||||
|
|
||||||
// Animations
|
// Animations
|
||||||
implementation 'com.airbnb.android:lottie:3.4.4'
|
implementation 'com.airbnb.android:lottie:4.1.0'
|
||||||
|
|
||||||
// Loading ProgressBar
|
// Loading ProgressBar
|
||||||
implementation 'com.lsjwzh:materialloadingprogressbar:0.5.8-RELEASE'
|
implementation 'com.lsjwzh:materialloadingprogressbar:0.5.8-RELEASE'
|
||||||
|
|
||||||
// SearchView
|
// SearchView
|
||||||
implementation 'com.github.Ferfalk:SimpleSearchView:0.1.4'
|
implementation 'com.github.Ferfalk:SimpleSearchView:0.2.0'
|
||||||
|
|
||||||
// Customizable TextView
|
// Customizable TextView
|
||||||
implementation 'com.libRG:customtextview:2.4'
|
implementation 'com.libRG:customtextview:2.4'
|
||||||
|
|
||||||
// Dismiss gesturing
|
// Dismiss gesturing
|
||||||
implementation 'com.r0adkll:slidableactivity:2.1.0'
|
implementation 'com.r0adkll:slidableactivity:2.1.0'
|
||||||
implementation 'app.futured.hauler:hauler:4.0.0'
|
implementation 'app.futured.hauler:hauler:5.0.0'
|
||||||
|
|
||||||
// Bottom sheet with rounded corners
|
// Bottom sheet with rounded corners
|
||||||
implementation 'com.github.Deishelon:RoundedBottomSheet:1.0.1'
|
implementation 'com.github.Deishelon:RoundedBottomSheet:1.0.1'
|
||||||
|
@ -203,13 +203,13 @@ public class SearchActivity extends BaseActivity {
|
|||||||
|
|
||||||
simpleSearchView.setOnQueryTextListener(new SimpleSearchView.OnQueryTextListener() {
|
simpleSearchView.setOnQueryTextListener(new SimpleSearchView.OnQueryTextListener() {
|
||||||
@Override
|
@Override
|
||||||
public boolean onQueryTextSubmit(String query) {
|
public boolean onQueryTextSubmit(@NonNull String query) {
|
||||||
search(query);
|
search(query);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onQueryTextChange(String newText) {
|
public boolean onQueryTextChange(@NonNull String newText) {
|
||||||
if (!newText.isEmpty()) {
|
if (!newText.isEmpty()) {
|
||||||
if (subredditAutocompleteCall != null) {
|
if (subredditAutocompleteCall != null) {
|
||||||
subredditAutocompleteCall.cancel();
|
subredditAutocompleteCall.cancel();
|
||||||
@ -384,11 +384,10 @@ public class SearchActivity extends BaseActivity {
|
|||||||
protected void onStart() {
|
protected void onStart() {
|
||||||
super.onStart();
|
super.onStart();
|
||||||
simpleSearchView.showSearch(false);
|
simpleSearchView.showSearch(false);
|
||||||
simpleSearchView.getSearchEditText().requestFocus();
|
simpleSearchView.requestFocus();
|
||||||
|
|
||||||
if (query != null) {
|
if (query != null) {
|
||||||
simpleSearchView.getSearchEditText().setText(query);
|
simpleSearchView.setQuery(query, false);
|
||||||
simpleSearchView.getSearchEditText().setSelection(query.length());
|
|
||||||
query = null;
|
query = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -403,13 +402,13 @@ public class SearchActivity extends BaseActivity {
|
|||||||
super.onPause();
|
super.onPause();
|
||||||
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
|
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||||
if (imm != null) {
|
if (imm != null) {
|
||||||
imm.hideSoftInputFromWindow(simpleSearchView.getSearchEditText().getWindowToken(), 0);
|
imm.hideSoftInputFromWindow(simpleSearchView.getWindowToken(), 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
|
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
|
||||||
if (simpleSearchView.onActivityResult(requestCode, resultCode, data)) {
|
if (data != null && simpleSearchView.onActivityResult(requestCode, resultCode, data)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,7 +49,4 @@
|
|||||||
<attr name="backgroundColor" format="color"/>
|
<attr name="backgroundColor" format="color"/>
|
||||||
<attr name="cardViewBackgroundColor" format="color"/>
|
<attr name="cardViewBackgroundColor" format="color"/>
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
<attr name="backIconAlpha"/>
|
|
||||||
<attr name="iconsAlpha"/>
|
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in New Issue
Block a user