[6.7.0]
[fea] [itemclic 添加过滤条件]
This commit is contained in:
@@ -61,7 +61,9 @@ class ShuttleFragment : MvpFragment<ShuttleFragment?, BusPresenter?>() {
|
||||
CallerEagleBaseFunctionCall4OchManager.addToolKitDefaultItemClickListener(runningTaskGateWay,object :
|
||||
IToolKitItemClickListener{
|
||||
override fun onItemClick(toolTag: String, ctx: Context?) {
|
||||
RunningTaskManager.showBadCaseConfigWindow(it)
|
||||
if(toolTag==runningTaskGateWay) {
|
||||
RunningTaskManager.showBadCaseConfigWindow(it)
|
||||
}
|
||||
}
|
||||
})
|
||||
CallerEagleBaseFunctionCall4OchManager.addSingleToolKitCustomItem(lineView, LineView(it),10)
|
||||
|
||||
@@ -191,10 +191,12 @@ public abstract class BaseTaxiTabFragment<V extends IView, P extends Presenter<V
|
||||
CallerEagleBaseFunctionCall4OchManager.INSTANCE.addToolKitDefaultItemClickListener(runningTaskGateWay, new IToolKitItemClickListener() {
|
||||
@Override
|
||||
public void onItemClick(@NonNull String toolTag, @Nullable Context ctx) {
|
||||
personalDialogFragment = new WeakReference<>(new TaxiPersonalDialogFragment());
|
||||
FragmentActivity activity = getActivity();
|
||||
if (activity != null) {
|
||||
personalDialogFragment.get().show(activity.getSupportFragmentManager(), "service_data");
|
||||
if(toolTag==runningTaskGateWay) {
|
||||
personalDialogFragment = new WeakReference<>(new TaxiPersonalDialogFragment());
|
||||
FragmentActivity activity = getActivity();
|
||||
if (activity != null) {
|
||||
personalDialogFragment.get().show(activity.getSupportFragmentManager(), "service_data");
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -202,10 +202,12 @@ abstract class BaseTaxiTabFragment<V : IView, P : Presenter<V>> : MvpFragment<V,
|
||||
CallerEagleBaseFunctionCall4OchManager.addToolKitDefaultItemClickListener(runningTaskGateWay,object :
|
||||
IToolKitItemClickListener {
|
||||
override fun onItemClick(toolTag: String, ctx: Context?) {
|
||||
personalDialogFragment = WeakReference(TaxiOperationalDialogFragment())
|
||||
activity?.supportFragmentManager?.let {
|
||||
personalDialogFragment!!.get()
|
||||
?.show(it, "service_data")
|
||||
if(toolTag==runningTaskGateWay) {
|
||||
personalDialogFragment = WeakReference(TaxiOperationalDialogFragment())
|
||||
activity?.supportFragmentManager?.let {
|
||||
personalDialogFragment!!.get()
|
||||
?.show(it, "service_data")
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user