merge
This commit is contained in:
@@ -3,6 +3,7 @@ package com.mogo.module.share.dialog;
|
||||
import android.app.Dialog;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.RelativeLayout;
|
||||
@@ -69,7 +70,9 @@ public class LaucherShareDialog extends Dialog implements View.OnClickListener {
|
||||
if (id == R.id.btn_block_layout) { //拥堵
|
||||
sendShareReceiver("1");
|
||||
} else if (id == R.id.oil_price_layout) {
|
||||
//TODO
|
||||
Intent intent = new Intent();
|
||||
intent.setData(Uri.parse("reshthing://com.zhidao.fresh.things/shareOilPrice"));
|
||||
mContext.startActivity(intent);
|
||||
} else if (id == R.id.traffic_check_layout) { //交通检查
|
||||
sendShareReceiver("2");
|
||||
} else if (id == R.id.road_closure_layout) { //封路
|
||||
@@ -80,7 +83,7 @@ public class LaucherShareDialog extends Dialog implements View.OnClickListener {
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送广播
|
||||
* 发送广播 1拥堵,2交通检查,3封路
|
||||
*/
|
||||
private void sendShareReceiver(String type) {
|
||||
Logger.d("liyz", "LaucherShareDialog sendShareReceiver ---->");
|
||||
|
||||
Reference in New Issue
Block a user