-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Krishna <125943937+Krishna-G-OP@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Weiguangtwk <41853928+WeiguangTWK@users.noreply.github.com> Co-authored-by: WeiguangTWK <weiguangtwk@outlook.com> Co-authored-by: marciozomb13 <marciozomb13@outlook.com>
- Loading branch information
1 parent
842a30d
commit 258b221
Showing
91 changed files
with
1,389 additions
and
726 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
app/src/main/java/in/hridayan/ashell/ExternalCmdStore.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
app/src/main/java/in/hridayan/ashell/UI/CustomSearchView.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package in.hridayan.ashell.UI; | ||
|
||
import android.content.Context; | ||
import android.util.AttributeSet; | ||
import android.widget.EditText; | ||
import androidx.annotation.NonNull; | ||
import androidx.annotation.Nullable; | ||
import com.google.android.material.R; | ||
import com.google.android.material.search.SearchView; | ||
|
||
public class CustomSearchView extends SearchView { | ||
|
||
public CustomSearchView(@NonNull Context context) { | ||
super(context); | ||
} | ||
|
||
public CustomSearchView(@NonNull Context context, @Nullable AttributeSet attrs) { | ||
super(context, attrs); | ||
} | ||
|
||
public CustomSearchView( | ||
@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) { | ||
super(context, attrs, defStyleAttr); | ||
} | ||
|
||
public EditText getSearchEditText() { | ||
return findViewById(R.id.open_search_view_edit_text); | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
app/src/main/java/in/hridayan/ashell/UI/MainViewModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package in.hridayan.ashell.UI; | ||
|
||
import androidx.lifecycle.ViewModel; | ||
|
||
public class MainViewModel extends ViewModel { | ||
private int currentFragment; | ||
|
||
public int currentFragment() { | ||
return currentFragment; | ||
} | ||
|
||
public void setCurrentFragment(int fragment) { | ||
currentFragment = fragment; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.