Skip to content
This repository was archived by the owner on Jul 27, 2019. It is now read-only.

Commit 5aeb5eb

Browse files
committed
Added variables for layout elements.
1 parent a52079d commit 5aeb5eb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

send-to-desktop-api/app/src/main/java/com/adobe/sendtodesktopapi/MainActivity.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
import android.view.Menu;
1111
import android.view.MenuItem;
1212
import android.view.View;
13+
import android.widget.Button;
14+
import android.widget.ImageView;
1315

1416
import com.adobe.creativesdk.foundation.auth.AdobeAuthException;
1517
import com.adobe.creativesdk.foundation.auth.AdobeAuthSessionHelper;
@@ -21,6 +23,10 @@ public class MainActivity extends AppCompatActivity {
2123
private AdobeUXAuthManager mUXAuthManager = AdobeUXAuthManager.getSharedAuthManager();
2224
private AdobeAuthSessionHelper mAuthSessionHelper;
2325

26+
private Button mOpenGalleryButton;
27+
private Button mSendToPhotoshopButton;
28+
private ImageView mSelectedImageView;
29+
2430
@Override
2531
protected void onCreate(Bundle savedInstanceState) {
2632
super.onCreate(savedInstanceState);
@@ -31,6 +37,10 @@ protected void onCreate(Bundle savedInstanceState) {
3137
mAuthSessionHelper = new AdobeAuthSessionHelper(mStatusCallback);
3238
mAuthSessionHelper.onCreate(savedInstanceState);
3339

40+
mOpenGalleryButton = (Button) findViewById(R.id.openGalleryButton);
41+
mSendToPhotoshopButton = (Button) findViewById(R.id.sendToPhotoshopButton);
42+
mSelectedImageView = (ImageView) findViewById(R.id.selectedImageView);
43+
3444
FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
3545
fab.setOnClickListener(new View.OnClickListener() {
3646
@Override

0 commit comments

Comments
 (0)