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

    IntentFilter intentFilter = new IntentFilter("org.esiea.newlife");
    BierUpdate bier = new BierUpdate();
    LocalBroadcastManager.getInstance(this).registerReceiver(bier, intentFilter);
    rv = (RecyclerView) findViewById(R.id.rv_biere);
    rv.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false));
    rv.setAdapter(new BiersAdapter());
    MyIntentService.startActionget_all_beers(this);
  }
 @Override
 public void onReceive(Context context, Intent intent) {
   // TODO: This method is called when the BroadcastReceiver is receiving
   MyIntentService service = new MyIntentService();
   service.startActionBaz(context, "TEST6", "TEST7");
 }
 public void runServiceJob(View view) {
   counter++;
   MyIntentService.startActionProduce(this, "Android Clones", counter);
 }