link to support activity

main
h4h13 2018-08-05 22:04:09 +05:30
parent c56bc91b9e
commit 0e29183a60
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,7 @@ import code.name.monkey.retromusic.ui.activities.PlaylistDetailActivity;
import code.name.monkey.retromusic.ui.activities.ProVersionActivity; import code.name.monkey.retromusic.ui.activities.ProVersionActivity;
import code.name.monkey.retromusic.ui.activities.SearchActivity; import code.name.monkey.retromusic.ui.activities.SearchActivity;
import code.name.monkey.retromusic.ui.activities.SettingsActivity; import code.name.monkey.retromusic.ui.activities.SettingsActivity;
import code.name.monkey.retromusic.ui.activities.SupportDevelopmentActivity;
import code.name.monkey.retromusic.ui.activities.UserInfoActivity; import code.name.monkey.retromusic.ui.activities.UserInfoActivity;
public class NavigationUtil { public class NavigationUtil {
@ -121,4 +122,9 @@ public class NavigationUtil {
public static void goToSearch(Activity activity) { public static void goToSearch(Activity activity) {
ActivityCompat.startActivity(activity, new Intent(activity, SearchActivity.class), null); ActivityCompat.startActivity(activity, new Intent(activity, SearchActivity.class), null);
} }
public static void goToSupportDevelopment(Activity activity) {
ActivityCompat
.startActivity(activity, new Intent(activity, SupportDevelopmentActivity.class), null);
}
} }