content: package com.androidavanzado.prueba;
  
  import android.os.Bundle;
  import android.support.annotation.NonNull;
  import android.support.design.widget.BottomNavigationView;
  import android.support.v7.app.AppCompatActivity;
  import android.view.MenuItem;
  import android.widget.TextView;
  
  public class NotasActivity extends AppCompatActivity implements NotasInteractionListener {
  
      private BottomNavigationView.OnNavigationItemSelectedListener mOnNavigationItemSelectedListener
              = new BottomNavigationView.OnNavigationItemSelectedListener() {
  
          @Override
          public boolean onNavigationItemSelected(@NonNull MenuItem item) {
              switch (item.getItemId()) {
                  case R.id.navigation_home:
                      return true;
                  case R.id.navigation_dashboard:
                      return true;
                  case R.id.navigation_notifications:
                      return true;
              }
              return false;
          }
      };
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_notas);
  
          BottomNavigationView navigation = (BottomNavigationView) findViewById(R.id.navigation);
          navigation.setOnNavigationItemSelectedListener(mOnNavigationItemSelectedListener);
      }
  
      @Override
      public void editNotaClick(Nota nota) {
  
      }
  
      @Override
      public void eliminaNotaClick(Nota nota) {
  
      }
  
      @Override
      public void favoritaNotaClick(Nota nota) {
  
      }
  }
  