utilsを依存関係に追加, LoggerをInject

This commit is contained in:
ろむねこ 2024-01-19 15:07:27 +09:00
parent 42eb3d4c80
commit 169a6c6e0a
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -11,6 +11,8 @@ import android.graphics.Color;
import android.os.Bundle; import android.os.Bundle;
import android.widget.Toast; import android.widget.Toast;
import one.nem.lacerta.utils.LacertaLogger;
import com.google.android.material.bottomnavigation.BottomNavigationView; import com.google.android.material.bottomnavigation.BottomNavigationView;
@ -22,6 +24,9 @@ import javax.inject.Inject;
@AndroidEntryPoint @AndroidEntryPoint
public class MainActivity extends AppCompatActivity { public class MainActivity extends AppCompatActivity {
@Inject
LacertaLogger logger;
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);