doing it in the XML is deprecated
findViewById(R.id.nav_new_profile_button).setOnClickListener(
v -> startEditProfileActivity(null));
+ findViewById(R.id.transaction_list_cancel_download).setOnClickListener(this::onStopTransactionRefreshClick);
+
RecyclerView root = findViewById(R.id.nav_profile_list);
if (root == null)
throw new RuntimeException("Can't get hold on the transaction value view");
android:background="@drawable/ic_clear_accent_24dp"
android:clickable="true"
android:focusable="true"
- android:onClick="onStopTransactionRefreshClick" />
+ />
</LinearLayout>
</LinearLayout>