合并2
This commit is contained in:
@@ -120,15 +120,15 @@ public class SoundEffectsDialogFragment extends BaseMvpDialogFragment<WheatPrese
|
||||
mBinding.tvSure.setOnClickListener(v -> {
|
||||
if (selectedPosition != -1){
|
||||
if (selectedPosition == 0){
|
||||
AgoraManager.getInstance(getActivity()).potexao(new File(getSavePath() + "xs.mp3").getPath());
|
||||
AgoraManager.getInstance().potexao(new File(getSavePath() + "xs.mp3").getPath());
|
||||
}else if (selectedPosition == 1){
|
||||
AgoraManager.getInstance(getActivity()).potexao(new File(getSavePath() + "hh.mp3").getPath());
|
||||
AgoraManager.getInstance().potexao(new File(getSavePath() + "hh.mp3").getPath());
|
||||
}else if (selectedPosition == 2){
|
||||
AgoraManager.getInstance(getActivity()).potexao(new File(getSavePath() + "gg.mp3").getPath());
|
||||
AgoraManager.getInstance().potexao(new File(getSavePath() + "gg.mp3").getPath());
|
||||
}else if (selectedPosition == 3){
|
||||
AgoraManager.getInstance(getActivity()).potexao(new File(getSavePath() + "zs.mp3").getPath());
|
||||
AgoraManager.getInstance().potexao(new File(getSavePath() + "zs.mp3").getPath());
|
||||
}else if (selectedPosition == 4){
|
||||
AgoraManager.getInstance(getActivity()).potexao(new File(getSavePath() + "mmd.mp3").getPath());
|
||||
AgoraManager.getInstance().potexao(new File(getSavePath() + "mmd.mp3").getPath());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user