Hello mọi người
Mình hiện tại đang tạo bridge library cho React bên Android.
Giờ muốn viết thêm code cho file MainActivity.java thì làm thế nào?
Chả làm m đang cần @Override phương thức onActionModeStarted.
M copy/paste đoạn code vào trực tiếp file MainActivity.java trong thư mục project (react-native init) thì ok. Nhưng M muốn tạo library riêng thì làm sao?
Muốn tạo Native Modules thì phải extends ReactContextBaseJavaModule, mà thằng này thì ko có phương thức onActionModeStarted.