Arthelh/NCNF

View on GitHub
app/src/main/java/com/ncnf/views/activities/bookmark/BookMarkActivity.java

Summary

Maintainability
A
40 mins
Test Coverage
A
100%
package com.ncnf.views.activities.bookmark;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import com.ncnf.R;
import com.ncnf.views.fragments.bookmark.EventDisplayFragment;

import java.util.Objects;

import dagger.hilt.android.AndroidEntryPoint;

@AndroidEntryPoint
public class BookMarkActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_bookmark);

        getSupportFragmentManager().beginTransaction().add(R.id.fragmentBookmarkContainer, new EventDisplayFragment()).commit();


        Objects.requireNonNull(getSupportActionBar()).setDisplayHomeAsUpEnabled(false);
    }
}