import android.view.View;
import android.widget.RadioButton;
import android.widget.RadioGroup;
-import android.widget.Switch;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
+import com.google.android.material.switchmaterial.SwitchMaterial;
+
import net.ktnx.mobileledger.App;
import net.ktnx.mobileledger.R;
import net.ktnx.mobileledger.model.Currency;
Data.currencySymbolPosition.setValue(Currency.Position.after);
});
- Switch gap = csd.findViewById(R.id.currency_gap);
+ SwitchMaterial gap = csd.findViewById(R.id.currency_gap);
gap.setChecked(Data.currencyGap.getValue());