output: {
library: 'MyModule',
filename: 'example3.js',
import {Example1} from './example1';
import {Example2} from './example2';
export {Example1} from './example1';
export {Example2} from './example2';
export class Example3 {
constructor().....
MainActivity extends ... implements NavigationView.OnNavigationItemSelectedListener
onCreate {
...
nav_view.setNavigationItemSelectedListener(this) // nav_view соответственно элемент дравера
}
// в активности
@Override
public boolean onNavigationItemSelected(MenuItem item) {
if(item.getItemId() == R.id.catalog_id ...
}