INNER CODE UNIT · Java

onCreate

shmykelsa/AAAD · app/src/main/java/com/legs/appsforaa/TransferLicense.java:44

    public void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_transfer_license);

        // Get authenticated user ID (should already be authenticated from MainActivity)
        deviceId = AuthManager.INSTANCE.getCurrentUid();
        if (deviceId == null) {
            Toast.makeText(this, "Authentication required. Please restart the app.", Toast.LENGTH_LONG).show();
            finish();
            return;
        }

        final Button transferHereButton = findViewById(R.id.receive);
        final Button transferFromHereButton = findViewById(R.id.donate);
        final TextView tv = findViewById(R.id.textView_transfer);

        final FirebaseDatabase database = FirebaseDatabase.getInstance(BuildConfig.FIREBASE_INSTANCE);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…