-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
cunnj
committed
May 17, 2019
1 parent
0c0064e
commit b248f09
Showing
14 changed files
with
73 additions
and
72 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 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
2 changes: 1 addition & 1 deletion
2
...cunnj/activities/AllTasksListAdapter.java → ...activitylauncher/AllTasksListAdapter.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
4 changes: 2 additions & 2 deletions
4
...activities/AllTasksListAsyncProvider.java → ...tylauncher/AllTasksListAsyncProvider.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
2 changes: 1 addition & 1 deletion
2
...unnj/activities/AllTasksListFragment.java → ...ctivitylauncher/AllTasksListFragment.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
2 changes: 1 addition & 1 deletion
2
...a/com/cunnj/activities/AsyncProvider.java → ...cunnj/activitylauncher/AsyncProvider.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
98 changes: 49 additions & 49 deletions
98
...va/com/cunnj/activities/MainActivity.java → .../cunnj/activitylauncher/MainActivity.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 |
---|---|---|
@@ -1,49 +1,49 @@ | ||
package com.cunnj.activities; | ||
|
||
import android.os.Bundle; | ||
import androidx.appcompat.app.AppCompatActivity; | ||
import android.view.Menu; | ||
import android.view.MenuItem; | ||
|
||
import com.mikepenz.aboutlibraries.Libs; | ||
import com.mikepenz.aboutlibraries.LibsBuilder; | ||
|
||
public class MainActivity extends AppCompatActivity { | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_main); | ||
|
||
getSupportFragmentManager().beginTransaction() | ||
.replace(R.id.container, new AllTasksListFragment()).commit(); | ||
} | ||
|
||
@Override | ||
public boolean onCreateOptionsMenu(Menu menu) { | ||
getMenuInflater().inflate(R.menu.main, menu); | ||
return true; | ||
} | ||
|
||
@Override | ||
public boolean onOptionsItemSelected(MenuItem item) { | ||
switch (item.getItemId()) { | ||
case R.id.action_about: | ||
new LibsBuilder() | ||
.withActivityStyle(Libs.ActivityStyle.LIGHT_DARK_TOOLBAR) | ||
.withActivityTitle(getResources().getString(R.string.action_about)) | ||
.withAboutIconShown(true) | ||
.withAboutDescription(getResources().getString(R.string.app_description)) | ||
.withAboutVersionShown(true) | ||
.withAboutAppName(getResources().getString(R.string.app_name)) | ||
.withAutoDetect(true) | ||
.withLicenseShown(true) | ||
.start(this); | ||
return true; | ||
|
||
default: | ||
return super.onOptionsItemSelected(item); | ||
|
||
} | ||
} | ||
} | ||
package com.cunnj.activitylauncher; | ||
|
||
import android.os.Bundle; | ||
import androidx.appcompat.app.AppCompatActivity; | ||
import android.view.Menu; | ||
import android.view.MenuItem; | ||
|
||
import com.mikepenz.aboutlibraries.Libs; | ||
import com.mikepenz.aboutlibraries.LibsBuilder; | ||
|
||
public class MainActivity extends AppCompatActivity { | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_main); | ||
|
||
getSupportFragmentManager().beginTransaction() | ||
.replace(R.id.container, new AllTasksListFragment()).commit(); | ||
} | ||
|
||
@Override | ||
public boolean onCreateOptionsMenu(Menu menu) { | ||
getMenuInflater().inflate(R.menu.main, menu); | ||
return true; | ||
} | ||
|
||
@Override | ||
public boolean onOptionsItemSelected(MenuItem item) { | ||
switch (item.getItemId()) { | ||
case R.id.action_about: | ||
new LibsBuilder() | ||
.withActivityStyle(Libs.ActivityStyle.LIGHT_DARK_TOOLBAR) | ||
.withActivityTitle(getResources().getString(R.string.action_about)) | ||
.withAboutIconShown(true) | ||
.withAboutDescription(getResources().getString(R.string.app_description)) | ||
.withAboutVersionShown(true) | ||
.withAboutAppName(getResources().getString(R.string.app_name)) | ||
.withAutoDetect(true) | ||
.withLicenseShown(true) | ||
.start(this); | ||
return true; | ||
|
||
default: | ||
return super.onOptionsItemSelected(item); | ||
|
||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
.../com/cunnj/activities/MyActivityInfo.java → ...unnj/activitylauncher/MyActivityInfo.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
2 changes: 1 addition & 1 deletion
2
...a/com/cunnj/activities/MyPackageInfo.java → ...cunnj/activitylauncher/MyPackageInfo.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
2 changes: 1 addition & 1 deletion
2
...cunnj/activities/PackageManagerCache.java → ...activitylauncher/PackageManagerCache.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
2 changes: 1 addition & 1 deletion
2
...ctivities/ShortcutEditDialogFragment.java → ...ylauncher/ShortcutEditDialogFragment.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
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