|
|
|
@ -46,6 +46,11 @@ import fr.mobdev.lpcprog.fragment.USBListFragment; |
|
|
|
|
import fr.mobdev.lpcprog.listener.ServerListener; |
|
|
|
|
import fr.mobdev.lpcprog.objects.USBDevice; |
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
The only activity of the app. It Handle all change of fragment depending on user actions |
|
|
|
|
the Menu change with fragment |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
public class MainActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener, |
|
|
|
|
USBListFragment.USBInteractionListener, |
|
|
|
|
AddPartFragment.OnAddInteractionListener |
|
|
|
|