mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
Dataモジュール削除
This commit is contained in:
parent
4462ced6ae
commit
6d3d9f001e
|
@ -45,7 +45,7 @@ dependencies {
|
||||||
|
|
||||||
// 内部モジュール
|
// 内部モジュール
|
||||||
// data
|
// data
|
||||||
implementation project(':data:repository')
|
// implementation project(':data:repository')
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -11,8 +11,6 @@ import android.widget.Button;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import dagger.hilt.android.AndroidEntryPoint;
|
import dagger.hilt.android.AndroidEntryPoint;
|
||||||
import one.nem.lacerta.data.repository.TestData;
|
|
||||||
|
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -24,8 +22,6 @@ import javax.inject.Inject;
|
||||||
@AndroidEntryPoint
|
@AndroidEntryPoint
|
||||||
public class DebugMenuFragment extends Fragment {
|
public class DebugMenuFragment extends Fragment {
|
||||||
|
|
||||||
@Inject
|
|
||||||
TestData testData;
|
|
||||||
|
|
||||||
// TODO: Rename parameter arguments, choose names that match
|
// TODO: Rename parameter arguments, choose names that match
|
||||||
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
|
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
|
||||||
|
@ -78,11 +74,11 @@ public class DebugMenuFragment extends Fragment {
|
||||||
public void onViewCreated(View view, Bundle savedInstanceState) {
|
public void onViewCreated(View view, Bundle savedInstanceState) {
|
||||||
super.onViewCreated(view, savedInstanceState);
|
super.onViewCreated(view, savedInstanceState);
|
||||||
|
|
||||||
Button button = view.findViewById(R.id.button_di_test);
|
// Button button = view.findViewById(R.id.button_di_test);
|
||||||
// Lambda
|
// // Lambda
|
||||||
button.setOnClickListener(v -> {
|
// button.setOnClickListener(v -> {
|
||||||
Toast.makeText(getContext(), testData.getTestData(), Toast.LENGTH_SHORT).show();
|
// Toast.makeText(getContext(), testData.getTestData(), Toast.LENGTH_SHORT).show();
|
||||||
});
|
// });
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user