Skip to content

Replace AsyncTask with RxJava for file list loading in MainFragment - #4690

Open
alihrhera wants to merge 1 commit into
TeamAmaze:release/4.0from
alihrhera:fix/new-tab-doubles-file-count
Open

Replace AsyncTask with RxJava for file list loading in MainFragment#4690
alihrhera wants to merge 1 commit into
TeamAmaze:release/4.0from
alihrhera:fix/new-tab-doubles-file-count

Replace AsyncTask with RxJava for file list loading in MainFragment

99c523c
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jul 28, 2026 in 0s

8 new issues (0 max.) of at least severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 8
           

Complexity increasing per file
==============================
- app/src/main/java/com/amaze/filemanager/ui/fragments/MainFragment.java  10
         

Complexity decreasing per file
==============================
+ app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java  -3
         

See the complete overview on Codacy

Annotations

Check warning on line 94 in app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java#L94

The method 'load()' has an NPath complexity of 2340, current threshold is 200

Check notice on line 185 in app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java#L185

Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.

Check notice on line 186 in app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java#L186

Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.

Check notice on line 187 in app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java#L187

Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.

Check notice on line 188 in app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java#L188

Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.

Check notice on line 189 in app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java#L189

Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.

Check notice on line 190 in app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java#L190

Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.

Check notice on line 191 in app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java#L191

Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.