Hi Friends, Many of us looking for Toolbar example in Jetpack Compose orTopAppBar example in Jetpack compose. Today I am going to share you a sample which helps you in creating Toolbar in Jetpack compose.Also in this tutoriail I am providing you how...
Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts
Tuesday, 28 September 2021
Tuesday, September 28, 2021
Tuesday, September 28, 2021
Android Jetpack Compose Dropdown menu Example | Dropdown menu using DropdownMenu Composable
Mukesh Kumar
Android
,
compose
,
Dropdown
,
Dropdown menu
,
DropdownMenu Composable
,
Jetpack
,
menu
No comments
Dropdown menu: We are going to use DropdownMenu Composable for creating dropdown menu.fun DropdownMenu( expanded: Boolean, onDismissRequest: () -> Unit, modifier: Modifier = Modifier, offset: DpOffset = DpOffset(0.dp, 0.dp), properties: PopupProperties = PopupProperties(focusable = true), content: @Composable ColumnScope.() -> Unit)In Above code if expanded is true, the popup...
Friday, 24 September 2021
Friday, September 24, 2021
Android Jetpack Compose Button Example | How to center a button in jetpack Compose | How to onclick listener on button in Jetpack Compose
Mukesh Kumar
Android
,
Button
,
compose
,
Example
,
How to center a button in jetpack Compose
,
Jetpack
,
onclick listener on button in Jetpack Compose
2
comments
Hi Friends, Today I am sharing a Sample of Jetpack Compose Button view. I will show you howto set onclick listener on button in Jetpack Compose. How to style on Button inJetpack Compse , how to set height and width of button in Jetpack...
Friday, September 24, 2021
Android Jetpack compose- Android Listview using Jetpack compose | Jetpack compose listview clicklistener
Mukesh Kumar
Android
,
clicklistener
,
compose
,
Jetpack
,
listview
,
using Jetpack compose
No comments

Hello all, Today I am going to share my anothere Android Jetpack Compose tutoria.How to set clicklistener on listview in android Jetpack Compses, how to set clicklistener on button using Jetpack Compse.I am sharing below code where I am handling list item click in jetpack compose. This file...
Friday, September 24, 2021
Android Jetpack Compose Alert Dialog Sample | Jetpack Compose Dialog
Hi Friends, Today I am sharing the Jetpack Compse Alert Dialog Sample.What is Alert Dialog?- Alert dialog is a Dialog which interrupts the user with urgent information, details or actions.Code: This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...
Wednesday, 22 September 2021
Wednesday, September 22, 2021
Android Jetpack- Jetpack cardview sample

Hi All, Today I am going to share Jetpack CardView sample. Here I am going to create a simple android cardview UI withoutt using the android Xml and layout editor.We are going to build the UI using Composable funtion(i.e: using Jetpack Compse).Column : We are going...
Tuesday, 21 September 2021
Tuesday, September 21, 2021
Android Jetpack- Composable functions

Jetpack Compose is built around composable functions. These functions let you define your app's UI programmatically by describing how itshould look and providing data dependencies, rather than focusing on the process of the UI's construction (initializing an element, attaching it to a parent, etc.).To create a composable function, just add the @Composable annotationto the function name. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters package com.example.composesample import android.os.Bundle import...
Sunday, 17 December 2017
Sunday, December 17, 2017
Android MVP for Beginners | Android MVP tutorial | Model-View-Presenter: Android | Android Architecture with MVP
Mukesh Kumar
Android
,
Android Architecture with MVP
,
Model-View-Presenter
,
MVP
,
MVP tutorial
No comments

Hello Friends, Today I am going to share a very simple example of Android MVP. In this sample I am using MVP pattern for network call and and user form(login form) data validation which is mainly used in most of the android application....
Saturday, 27 May 2017
Saturday, May 27, 2017
Android Retrofit With RX Java Sample | Android Retrofit Example

Hello Friends, This is an simple example of How we use Android Retrofit With RX . I hope this will helps you to start using Retrofit and RX together. 1. MainActivity.java package android.com.retrofitwithrxsample; import android.com.retrofitwithrxsample.adapter.DataAdapter; import android.com.retrofitwithrxsample.model.Country; import android.com.retrofitwithrxsample.model.Result; import android.com.retrofitwithrxsample.network.RequestInterface; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import...
Monday, 18 January 2016
Monday, January 18, 2016
Android RecyclerView and CardView tutorial | Android RecyclerView and CardView widgets | Android RecyclerView and CardView with backward compatibility
Mukesh Kumar
Android
,
cardview
,
cardviwe with backward compatibility
,
recycler view with backward compatability
,
recyclerview
2
comments

Hello Friends, Today, I am going to share my another post on Android RecyclerView and CardView. This widgets come in android latest release i.e Lollipop, Android 5.0 and API Level 21. We can also add support on lower devices above API Level 7 by...
Sunday, 10 August 2014
Sunday, August 10, 2014
Android Download Source code | Android Sample Project

Hello Friends, This is my small contribution , Now I am sharing the source code of all my android post or android tutorial at one place. Android Tutorial Download Code Android Custom Calendar Download Code Android LinkedIn Integration Download Code Android Crop Image in circular shape...
Monday, 19 May 2014
Monday, May 19, 2014
Android Error: Unable to add window — token null is not for an application

Hello Friends, most of us facing the issue of Unable to add window — token null while calling alert dialog from our service class. As, I am using activity class not the fragment so I am using getApplicationContext() (as from service we...
Tuesday, 23 October 2012
Tuesday, October 23, 2012
Android Search Functionality with ListView same as Google search functionality
Mukesh Kumar
Android
,
android search bar
,
custom listview search
,
google like search android app
,
google search functionality
,
list view search in android
,
listview
,
search functionality on listview
No comments

Hello Friends, Hello Friends , have you searching for Google like search functionality in your Android application ?? Search bar in android search icon inside edit text 1. Create a new project in Eclipse File New ⇒ Android ⇒ Application Project and fill the required details. 2. Create required files needed to...
Tuesday, October 23, 2012
Search in Custom Listview in Android | Android Custom Search | Custom Listview
Mukesh Kumar
Android
,
android search bar
,
custom listview search
,
listview search in android
,
search icon inside edit text
4
comments

Hello Friends , Today , I am Sharing my code my code with the help of which we can easily implements the search functionality on listview or on a custom list view. android search bar Search icon inside edit text 1. Create a new project in Eclipse File New ⇒...
Monday, 8 October 2012
Monday, October 08, 2012
Multipart image upload in android
Mukesh Kumar
Android
,
Android multipart image upload
,
Android upload image on server
,
Image upload in android
,
Multipart image upload on server in android
3
comments

Hello Friends, I'm trying to upload image to my server in Android..??? After spending a lots of time , I came across Multipart image Upload.Using this we can easily upload image as well as file on our server. Note: The method upload the image using http multipart form...
Sunday, 23 September 2012
Sunday, September 23, 2012
bitmap - How to scale down the image for better quality on Android
Mukesh Kumar
Android
,
scale down the image
,
scale down the image in android
,
scaling bitmap image
,
scaling image with better quality
1 comment

Hello Friends, How to scale down the image with better quality , without affecting the image Aspect Ration ? I am sharing my android | java code with the help of which we can easily scale down the image . Note: Here in my function i am passing...
Sunday, September 23, 2012
Crop image in circular shape in android

Hello Friends, Have you searching for cropping an image and convert it into circular shape ??? Following function will helps you to convert an image into circular shape. Note: I am passing my image in bitmap format as a parameter in a function. /* * Making image in...
Monday, 27 August 2012
Monday, August 27, 2012
Android Splash Screen Example

Android Splash Screen Example Hello Friends, Have you searching for Splash screen demo example in android ?? Today , I am sharing the full running code of splash screen in android. 1. SplashScreen.java package com.mukesh.tutorials.splash; import com.pxr.tutorials.splash.R; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.MotionEvent; public class SplashScreen...
Subscribe to:
Posts
(
Atom
)