Facebook and Twitter) so I'm not sure if they work too. add this line in your dependency block in the Gradle build file: compile org. Keep in mind I have not implemented any third party logins (eg. My packagins on Unreal failed every time, I installed Visual Studio. Lastly, update my Project adle file to include the variables required by the ParseLoginUI module as per my post above.Your app's adle file should now have a new line in the dependencies: `compile project(':ParseLoginUI') Back in the Project Structure clicked "OK" to apply the updates and add the module into the adle file for my app.In the Choose Modules pop-up, clicked on :ParseLoginUI and then OK.At the bottom of the tab, clicked on the "+" symbol and in the context menu the "Module Dependency" option.Under Modules, clicked on my app and on the right-side interface, clicked on the Dependencies tab.Clicked on File > Project Structure in AndroidStudio.In the New Module pop-up updated the source directory to the Cloned Project directory from step 1 (~/ParseUI-Android/ParseLoginUI).In my AndroidStudio Project, clicked on File > Import Module.With AndroidStudio 1.0.1, I did the following to get it to work: I revisited this as I wanted to update to the latest version of ParseLoginUI. I like it because changing my main project's details will reflect the changes in the library as well. This seemed to work for me, don't know if there is a better solution out there. Val pendingIntent = TaskStackBuilder.create(applicationContext).For people still having this problem, this is a rather specific solution, but I was using this as a library in my main project, and I had to add this to my MAIN PROJECT'S adle:Īnd this is my PARSELOGINUI'S adle:Ĭompile project(':facebook-sdk:facebook')Ĭompile ':support-v4:13.0.+'Ĭompile fileTree(dir: 'libs', include: '*.jar')ĬompileSdkVersion īuildToolsVersion Val intent = Intent(applicationContext, MainActivity::class.java) Var remote_picture = codeResource(applicationContext.resources, R.drawable.make_new) Val notiStyle = NotificationCompat.BigPictureStyle() I am making an app which requires the use of work manager to make a notification, I know how to make notifications in an activity but writing them in a separate kotlin file in the do work method as follows: class NotificationWorkManager(appContext: Context, workerParams: WorkerParameters):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |