mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
Move view options to bottom sheet
This commit is contained in:
@@ -359,7 +359,7 @@ public class IDELanguageClientImpl implements IDELanguageClient {
|
||||
if(!file.exists() || !file.isFile()) return;
|
||||
|
||||
diagnostics.put(file, params.getDiagnostics());
|
||||
activity().getDiagnosticsList().setAdapter(newDiagnosticsAdapter());
|
||||
activity().setDiagnosticsAdapter(newDiagnosticsAdapter());
|
||||
|
||||
EditorFragment editor = null;
|
||||
if(activity().getPagerAdapter() != null && (editor = activity().getPagerAdapter().findEditorByFile(file)) != null) {
|
||||
@@ -382,7 +382,7 @@ public class IDELanguageClientImpl implements IDELanguageClient {
|
||||
|
||||
|
||||
if(error) {
|
||||
activity().getSearchResultList().setAdapter(new SearchListAdapter(null, null, null));
|
||||
activity().setSearchResultAdapter (new SearchListAdapter(null, null, null));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user