10
10
import android .view .Menu ;
11
11
import android .view .MenuItem ;
12
12
import android .view .View ;
13
+ import android .widget .Button ;
14
+ import android .widget .ImageView ;
13
15
14
16
import com .adobe .creativesdk .foundation .auth .AdobeAuthException ;
15
17
import com .adobe .creativesdk .foundation .auth .AdobeAuthSessionHelper ;
@@ -21,6 +23,10 @@ public class MainActivity extends AppCompatActivity {
21
23
private AdobeUXAuthManager mUXAuthManager = AdobeUXAuthManager .getSharedAuthManager ();
22
24
private AdobeAuthSessionHelper mAuthSessionHelper ;
23
25
26
+ private Button mOpenGalleryButton ;
27
+ private Button mSendToPhotoshopButton ;
28
+ private ImageView mSelectedImageView ;
29
+
24
30
@ Override
25
31
protected void onCreate (Bundle savedInstanceState ) {
26
32
super .onCreate (savedInstanceState );
@@ -31,6 +37,10 @@ protected void onCreate(Bundle savedInstanceState) {
31
37
mAuthSessionHelper = new AdobeAuthSessionHelper (mStatusCallback );
32
38
mAuthSessionHelper .onCreate (savedInstanceState );
33
39
40
+ mOpenGalleryButton = (Button ) findViewById (R .id .openGalleryButton );
41
+ mSendToPhotoshopButton = (Button ) findViewById (R .id .sendToPhotoshopButton );
42
+ mSelectedImageView = (ImageView ) findViewById (R .id .selectedImageView );
43
+
34
44
FloatingActionButton fab = (FloatingActionButton ) findViewById (R .id .fab );
35
45
fab .setOnClickListener (new View .OnClickListener () {
36
46
@ Override
0 commit comments