Introduction

Mobile learning is learning conducted outside of the classroom using mobile devices (Reychav et al., 2016). It is a learning that takes place on portable electronic devices, including smartphones, tablets, MP3 (music parameter) players, and all other mobile gadgets (Tan et al., 2014). Mobile learning is expected to play a significant role in many educational settings that provide students with timely and appropriate directions. Online learning is replacing traditional classroom teaching in the educational process, but it still depends on accurate information, appropriate delivery, and opportunity (Milosevic et al., 2015; Sophonhiranrak, 2021). The COVID-19 pandemic has made things worse and increased interest in mobile learning. Challenges are being faced by educational institutions worldwide as a result of this pandemic, and fewer students are taking exams (Alturki & Aldraiweesh, 2022). At the moment, educational institutions are fully accountable for implementing novel teaching methods and procedures (Naciri et al., 2020).

Informal education and the use of mobile technologies for education have both seen significant development. As mobile technology and the internet are combined, there is an increase in communication and learning engagement. The use of smartphones and tablets are a fundamentally beneficial addition to accessing educational resources due to the acceptability of mobile technology as a new tool for learning purpose by students (Al-Bashayreh et al., 2022). The adaptability of modern technology has both direct and indirect effects on how well students learn. Though mobile learning is fast expanding globally due to mobile technologies particularly designed for educational purposes, the research on behavioral intention toward mobile learning is still in its infancy (Naciri et al., 2020; Criollo-C, 2021). Zeithaml (1988) defined behavioral intention as the customer’s future conduct based on his or her subjective assessment and generally classified it into favorable and unfavorable behavioral intentions. In the past, behavioral intention has been extensively researched with the inclusion of a variety of variables, such as intrinsic and extrinsic motivation (Feng et al., 2016), adoption of mobile technologies (Sanakulov & Karjaluoto, 2015), trust (Luo et al., 2010), word of mouth, image and attitude (Jalilvand et al., 2012), and social norm (McDonald & Crandall, 2015). The potential for behavioral intention toward mobile learning in higher education is enormous given the development of technology, as shown by previous rearches (Prieto et al., 2015; Criollo-C et al., 2021; Humida et al., 2022). However, it is stated that the development of behavioral intentions toward mobile learning (BITML) is not straightforward and that a number of significant factors, including perceived entertainment, informativeness, irritation, trust, and value, may have an impact. Although it is thought to be one of the paradigms that is most rapidly changing, such a combination of factors has previously been overlooked (Chen, 2011; Viberg & Gronlund, 2013; Cheok & Wong, 2015; Mohammadi, 2015a, 2015b, 2015c; Reychav & Wu, 2015; Wong et al., 2015).

Furthermore, it is essential to comprehend the underlying mechanisms by which behavioral intentions toward mobile learning (BITML) may be influenced by perceived entertainment, informativeness, irritation, trust, and value. The extant literature indicates that attitude mediates the association between a variety of predictors, such as entertainment, relaxation, escape time, value, and quality, and dependent variables, such as behavioral intention, purchase intention, and buying intention (Curras-Perez et al., 2014; Hameed et al., 2018; Mohammadi, 2015a; Zhu & Chang, 2014); however, mediating role of attitude between perceived entertainment, informativeness, irritation, trust and value, and BITML has not been explored yet. Therefore, in order to provide a more comprehensive picture, this study aims to investigate the impact of the five factors described above on attitude toward mobile learning (ATML), which in turn influences BITML and mediating role of ATML between relathionship of entertainment (ENT), informativeness (INF), irritation (IRR), trust (PERT), value (PERV), and BITML.

Numerous studies have looked into the connection between social influence and behavioral intention in the past (Contractor & DeChurch, 2014; Jung et al., 2016; Yang Lu et al., 2012). Because the social group gives compelling information regarding a product’s suitability and aids in decision-making, social influence lowers the risk of adoption (Alzaidi & Shehawy, 2022). Most people are not impacted by the media, but the peer group they are surrounded by has a big effect on their decision-making process. In the age of technology and mobile education, however, the moderating impact of social influence (SI) on the relationship between attitude and behavioral intentions toward mobile learning is comparatively understudied. Thus, another purpose of the study is to ascertain how social influence moderates the said relationship.

Literature review

Theoretical foundation

The relationship of behavioral intention toward mobile learning is based on the Theory of Planned Behavior (TPB). The TPB declares that “behavior is a direct function of behavioral intention and perceived behavioral intention is formed by one’s attitude which reflects the feeling of favorableness or unfavorableness toward performing a certain behavior.” Previous literature showed that TPB has been used in various types of research to measure the planned behavior, attitude, and intentions toward mobile learning as mandated by Kolog et al., (2014) and Lee et al., (2015a, 2015b). Secondly, User & Gratification (U&G) theory has been used to evaluate the BITML. Blumler and Katz (1974) established the concept of mass media communication, which was based on a functionalist perspective. This hypothesis is employed in the media paradigm, which asks “why people use certain media and what gratifications they obtain from media access.” The theory is valuable for studies involving active media users because it incorporates the user’s psychological and social demands, which illuminate “how and why individuals choose to utilize specific media” (Kim Xu, & Gupta, 2012). As a result, mobile learning satisfies the U&G assumptions because U&G asks “what people do with media, not what media do to people,” it is particularly well suited to mobile learning research, which has the potential for both interpersonal and mass communication (Chen, 2011; Johnson & Yang, 2009; Reychav & Wu, 2015). The U&G theory has numerous fundamental constructs and various typologies have been used in different years to explore the effects with different mediums. The literature showed that the most prominent and frequently used dimensions include entertainment, informativeness, and irritation (Chen & Wells, 1999; Eighmey & McCord, 1998; Fenech, 1998; Korgaonkar & Wolin, 1999; Lim & Ting, 2012). Thus, in the present study for determining BITML, three antecedents of U&G theory have been considered, i.e., entertainment, informativeness, and irritation.

Behavioral intention toward mobile learning

BITML is evolving concept as mandated by Humida, (2022) with the increased use of smartphones. The advancement of technology has benefited the education sector and various studies have been undertaken from the perspective of students to analyze the success elements of the notion of mobile learning. Mobile learning has introduced new strategies that are significantly superior to those offered by electronic learning (i.e., time and space flexibility). Mobile learning presents enormous prospects in higher education as technology advances, and past study has shown a lot of interest in this field. Prieto et al., (2015) have expanded on the idea that mobile devices have become increasingly important in the teaching and learning process in recent years. In the realm of informal education and mobile technologies for educational purposes, mobile learning is well established and when mobile technology is combined with the internet, it has enhanced communication and learning engagement. Smartphones and tablets are extremely useful tools for accessing instructional resources (Al-Bashayreh, 2022). Mobile learning provides students with timely and suitable guidance and in a variety of educational settings, mobile learning is projected to play a key role that may affect behavioral intentions. Several factors can influence students’ deliberate conduct when it comes to mobile learning. It is not a choice; rather, it is a necessity for keeping up with evolving technology and innovation. Students may easily and rapidly access and use learning tools anywhere and whenever they want by adopting portable innovation. Cheng (2015) looked into the elements that influence mobile learning acceptability, namely the role of technological features and compatibility. Nikou and Economides, (2017) agreed with the findings in terms of acceptance and intention to use mobile learning. Although there have been a significant amount of research into mobile learning acceptance, there has been limited research into the driving factors that influence students’ intention to use mobile devices for assessment purposes. It also gave participants greater knowledge of how to create mobile-based evaluations that help learners, improve their learning experience, and promote learning. It is assumed that the adoption of behavioral intention toward mobile learning is a practical idea in the current study that can provide a clear explanation based on extensive literature and theories.

Perceived entertainment

“The ability to meet an audience’s need for escapism, diversion, esthetic satisfaction, or emotional enjoyment,” (Ducoffe, 1996). Customers’ loyalty and value can be increased through entertainment because when the media is viewed as enjoyable, a favorable attitude develops, which leads to positive behavioral intentions. Blumler and Katz (1974) divided 35 media needs articulations into five categories: cognitive needs, which reinforce data, information, and comprehension; affective needs, which strengthen stylish, pleasurable, and passionate experience; individual integrative needs, which reinforce believability, certainty, dependability, and status and join subjective and emotional; social integrative needs, which reinforce contact with family, companions, and the world; and tension needs, which reinforce contact with family, companions, and the world (Zolkepli & Kamarulzaman, 2011). The importance of entertainment in virtual communities on attitudes toward learning is stressed. A cheerful attitude is positively connected with a high entertainment factor in certain media (Haq, 2009). Chen et al., (2012) argue by stating that mobile devices have evolved into indispensable gadgets that are used for leisure as well as productivity enhancement through mobile apps (Islam, Kang, & Yang, 2013). Marketers have adopted this technology to provide information due to the rapid increase in mobile phone usage (Aslam, Batool, & Haq, 2016). Customers can access remote systems to peruse information whenever and wherever wanted. The evolution of communication has a significant impact on the opportunity to grow and learn. Games and other activities are included in learning and teaching methodologies to make education more enjoyable. This type of activity is used to entertain scholars in a variety of educational institutions. The relevance of leisure was further highlighted by Lu et al., (2016) as it is crucial for everyone, especially students, who are under a lot of pressure when studying and leisure time can help them relax. Consumers appear to be more engaged with digital media than with traditional media, even though digital media is more complex. Consumer attitudes and source reliability were both affected directly and significantly by entertainment (Gvili & Levy, 2016). Therefore, based on the literature following hypotheses have been developed:

H1

Entertainment has a positive and significant effect on attitude toward mobile learning.

H6

Entertainment has a positive and significant effect on behavioral intentions toward mobile learning.

Perceived informativeness

“The ability to advise consumers about product options so that purchases generate the best possible satisfaction” (Ducoffe, 1996). Informativeness is a perceptual construct that is typically tested using self-reported items and it contains logical appeal due to its potential to assist a consumer in making an informed decision about message recognition, and therefore it is conceptually distinct from “emotional appeal.” Customers on the internet usually demand subjective qualities in the educational content they expect from websites, such as accuracy, opportunities, and value, and those who can meet these requirements will enjoy favorable reception from their audiences (Lim & Ting, 2012; Richard & Habibi, 2016). According to Dehghani et al., (2016), informativeness is one of the key variables in defining customer value and loyalty which leads to positive behavioral intentions. Both informativeness and entertainment can influence customer behavior. It interacts with users and has an immense impact on purchase intention. In digital communication, informativeness is perceived as an important factor that has a gigantic impact on consumer attitudes (Gvili & Levy, 2016). According to the findings, the most important criteria impacting the intention to re-use mobile advertising were informativeness and credibility (Lin Hsu & Lin 2017; Arli, 2017). Upon the extensive literature following hypotheses have been constructed:

H2

Informativeness has a positive and significant effect on attitude toward mobile learning.

H7

Informativeness has a positive and significant effect on behavioral intentions toward mobile learning.

Perceived irritation

“The approaches that annoy, offend, insult, or are too manipulative, consumers are likely to see it as an unwanted and irritating impact” (Ducoffe, 1996). Irritation is similar to reactance to anything in that customers typically reject advertisements that they consider intrusive. Irritation is a feeling that is influenced by a variety of elements, such as ad frequency, ad content, and ad timing. It is a factor that determines mobile advertising adoption (Zedan & Salem, 2016). Furthermore, the increasing growth in mobile phone usage has led marketers to adopt this medium to provide information, which is a source of frustration (Aslam et al., 2016). Boateng et al., (2016) mandated that the negative consequences of irritation on attitudes toward mobile advertising can be reduced by personal innovativeness, which has a favorable effect on consumers’ attitudes toward mobile advertising. It has been identified as a key determinant of brand loyalty and value by several authors in the past. It has a severe detrimental influence on brand loyalty (Dehghani et al., 2016). Irritation is defined by Gvili and Levy (2016) as digital message avoidance, which is interpreted as message skepticism. The level of discomfort is determined by a variety of circumstances beyond the advertisers’ control. It depends on the attitude of the customers and the type of work he or she does. Consequently, based on the literature, the following hypotheses have been developed:

H3

Irritation has a negative and significant effect on attitude toward mobile learning.

H8

Irritation has a negative and significant effect on behavioral intentions toward mobile learning.

Perceived trust

Trust has received a lot of attention; its definition varies depending on the area, such as psychology, sociology, economics, and marketing. Each profession has its definitions and perspectives on what it means to be trustworthy. It has been around since human civilization and social interaction began. As a result, it serves humanity as both a benefit and a necessity. Morgan and Hunt (1994) defined trust as “existent when one party has faith in the reliability and integrity of a partner.” Trust is a critical construct catalyst in many transactional connections. In the context of a relationship characterized by uncertainty and vulnerability, trust is seen as a controlling mechanism. Additionally, customer sentiments have a significant impact on consumer behavior. Customers, in reality, develop positive feelings toward people with whom they have previously met. Behavioral intention determines planned to conduct, and behavioral intention is influenced by attitudes. In the same way, attitude acts as a link between beliefs and intentions. The topic of mobile trust has recently gotten a lot of attention from researchers. Vance et al., (2008) looked at the impact of mobile trust on users, including system quality, visual appeal, and navigational structure. The importance of perceived trust and privacy was explored using a technological acceptance model, and the report looked into variables influenced by perceived trust. As a result, there are concerns about the transaction’s security and privacy. As a result, clients are more likely to be exposed to danger and mistrust (Chen & Chang, 2013). Perceived trust can lower transaction costs that are not monetary and this cost considers factors, such as time and effort (Gao et al., 2015). According to Lee et al., (2015a, 2015b), privacy and security concerns increase the likelihood of perceived threats and uncertainty. Facilitation is required, as is its continuing use, to reduce perceived risk and build trust. The importance of trust on buy intent was further explained by Bonson Ponte et al., (2015), who discovered that trust has a considerable and favorable impact on behavioral intention. Positive trust emerges when a customer is satisfied, which leads to positive behavioral intentions. Additionally, trust is necessary for the formation of successful collaborations (Suki & Suki, 2017; Wang et al., 2015). People who talk about their trust in humanity imply that they care about other people in society and that those who have deep religion are more tolerant of others. Humans can choose whether or not to be trusting; as a result, trust has a major impact on behavioral intention (Chiu et al., 2017). Thus, based on the said discussion, the following hypotheses have been established:

H4

Perceived trust has a positive and significant effect on attitude toward mobile learning.

H9

Perceived trust has a positive and significant effect on behavioral intentions toward mobile learning.

Perceived value

ZEITHAML (1988) described perceived value as “the consumer’s subjective opinion of the trade-off between benefits acquired from a product or service and sacrifices made for it.” Perceived value is a complex and multi-dimensional concept. It has been identified as one of the most dependable constructs for predicting purchase behavior by researchers (Pura, 2005). Moreover, perceived value is considered and treated as one of the multi-dimensional constructs in the context of consumer value. In previous studies, the validity of four sub-values of customer perceived value was established (Walsh et al., 2014). Hsu and Lin, (2015) explored in greater depth the purchasing purpose of mobile apps. The number of subscribers using smartphones, as well as the use of mobile applications, is growing. The perceived value of an individual influence their attitudes and behavioral intentions significantly. Perceived value has a significant impact on behavioral intention, which is also used to predict repurchase intention (Suki & Suki, 2017). Hernandez-Ortega et al (2017) further discussed the importance of perceived value in post-acceptance behavior for mobile messaging services. Thus, the aforementioned discussion hypothesized perceived value as follows:

H5

Perceived value has a positive and significant effect on attitude toward mobile learning.

H10

Perceived value has a positive and significant effect on behavioral intentions toward mobile learning.

Attitude toward mobile learning

Various predictive and outcome variables, such as entertainment, relaxation, escape time, value, and quality, as well as dependent variables, such as behavioral intention, purchase intention, and buying intention, have been discovered in the literature to operate as mediating variables (Curras-Perez et al., 2014; Mohammadi, 2015a; Zhu & Chang, 2014). In today’s world, technology advances at a breakneck pace, and educational institutions must keep up. Students, teachers, and parents’ attitudes toward mobile learning are researched to achieve mobile-supported education in schools (Huseyin Uzunboylu & Tugun, 2016). Moreover, the study found that attitude is an important factor that influences learning intention. Technology is enabling a wide range of helpful learning opportunities for scholars. Different educational institutions are required to focus on such opportunities to aid people (Park et al., 2012). The rise of mobile devices in recent years has ushered in a new era in education known as mobile learning. Mobile learning, in general, refers to any sort of learning that is facilitated by a mobile device. In recent years, Donaldson (2012), Gan and Balakrishnan (2016), Montrieux et al., (2015), and Park et al., (2012) have all argued for the use of mobile learning. Understanding the factors that influence mobile learning adoption is crucial for success in higher education. It has been revealed that one’s mindset has a significant impact on one’s intention to use mobile learning in future (Yeap et al., 2016). The study employs BITML to investigate the mediating effects of ATML in the link between entertainment, informativeness, irritation, perceived trust, and perceived value, based on evidence that attitude mediates. Thus, the following mediating hypotheses have been developed:

H11

ATML mediates the relationship between entertainment and BITML.

H12

ATML mediates the relationship between informativeness and BITML.

H13

ATML mediates the relationship between perceived irritation and BITML.

H14

ATML mediates the relationship between perceived trust and BITML.

H15

ATML mediates the relationship between perceived value and BITML.

Social influence

According to Ajzen, (1991) “subjective standards are operationalized in a very generic way in terms of experiencing influence with other individuals whose opinions are significant as a source of expectations.” Societal influences and personality traits, such as individual inventiveness, are potentially essential elements for adoption, according to behavioral sciences and individual psychology, and they may be a more relevant aspect in potential adopters’ decisions. The role of social influence in technology acceptance decisions is complex and influenced by a variety of factors. Social influence has been found in several types of research to have a positive impact on behavioral intentions (Chong, 2013; Chong et al., 2012; Leong et al., 2013). M-commerce clients are inspired by their friends to establish behavioral intentions. The link between social influence and behavioral intention has been studied extensively (Jung et al., 2016; Yang et al., 2012), because social groups offer a product’s acceptability. Mobile phone users are often in socially oriented situations and their decisions are influenced by what others think about mobile phones. The desire to rely on others is the fundamental motivator for using social networking services. In recent years, the expansion of media has had a significant impact on decision-making. (Jung et al., 2016). Furthermore, according to Donaldson (2012) and Iqbal and Qureshi (2012), social influence (e.g., instructors, parents, and friends) is expected to have a significant impact on younger students’ willingness to accept the use of mobile devices for educational purposes in the context of mobile learning. During the early phases of mobile learning, it is claimed that social influence has a substantial impact on behavioral intention. Additionally, the inclusion of age and gender tempers social influence, with the results indicating that it has the largest impact on women. Sung et al., (2015) and Reychav et al., (2016) investigated the impact of social influence on mobile learning and mobile device behavioral intention and found that social influence has a positive and significant impact on BITML and that mobile devices are the most promising learning devices. This discussion, on the other hand, broadens the scope of social influence as a moderator in the relationship between attitude and behavior intention because social influence plays such a crucial role in developing the attitude and behavioral intention. Thus, it is hypothesized that.

H17

Social influence moderates the relationship between attitude toward mobile learning (ATML) and behavioral intentions toward mobile learning (BITML) in such a way that the relationship is strengthened when social influence is high.

Theoretical framework

The theoretical framework is developed based on an extensive literature review (see Fig. 1). The study achieves both theoretical and methodological gaps. Previously various theories and models have been used to measure behavioral intention (Chen & Wells, 1999; Eighmey & McCord, 1998; Fenech, 1998; Korgaonkar & Wolin, 1999; Lim & Ting, 2012). These variables have been drawn from the U&G theory. Henceforth, the present study extends the previous body of literature by investigating factors related to behavioral intention toward mobile learning from a motivational perspective in technology usage by applying U&G theory. The theory is previously used to explore the media, including the web (LaRose & Eastin, 2004; LaRose et al., 2001), blogging (Chua et al., 2012; Hollenbaugh, 2010), and social networking sites such as Twitter (Chen, 2011; Johnson & Yang, 2009), online games (Wu et al., 2010), Facebook (Joinson, 2008), and my space (Raacke & Bonds-Raacke, 2008). As per, the study is related to learning via mobile, so mobile is media and U&G is a suitable theory to study the model (Ha et al., 2015; Ku et al., 2013). The usage of mobile devices for learning purposes is increasing, thus, it is required to study the factors that could play an important role in mobile learning adoption (Viberg & Gronlund, 2013), especially in the framework of developing countries.

Fig. 1
figure 1

Theoretical framework

This theory has not specifically applied to this context. The suggestions by Mohammadi (2015b) are incorporated to unveil the impact of U&G theory in the mobile learning context as previously the TAM and IS model was incorporated (Hameed & Qayyum, 2018). BITML is the untouched part as mandated by Chen (2011); Cheok and Wong, (2015); Reychav and Wu (2015); Reychav et al., (2016); and Wong et al., (2015). It supports that U&G theory is appropriate in mobile learning context and paves the way for more research of this kind. For better predictive explanation, the study added perceived trust and perceived value as suggested by Wong et al., (2015) to measure the behavioral intention of individuals. Actual usage behavior is not incorporated in the present study because the user acceptance of mobile learning is uncertain, as the concept is novel in Pakistan. Prepositions developed by Bagozzi (2007), Cheng (2015), Lee et al. (2015a, 2015b), Suki and Suki (2017; and Prieto et al. (2015) have been followed by adopting behavioral intention as the suitable construct or dependent variable to determine the BITML. Moreover, the study introduced social influence as a moderator (Wong et al., 2015) to examine the impact on behavioral intentions toward mobile learning. It is considered one of the major constructs to study the behavioral intention of individuals because it has a strong impact on attitude and intention relationships (Papacharissi, & Rubin, 2000; Sung et al., 2015). From the methodological perspective, previous studies examine students’ behavioral intention precisely in first-degree programs; however, in this study students from various departments belonging to different semesters and universities are incorporated so that based on diverse populations generalizability could be increased.

Methodology

The study adopted a positivist philosophy with a deductive approach. It follows a correlational research design along with a descriptive research type. Cross-sectional data were gathered via survey technique (Uma Sekaran, 2005).

Instrument

A total of thirty-eight items of eight constructs were used in the study for the collection of data, along with five items related to demographics (see details of instrument in Annexure A). Five items scales of each construct, i.e., entertainment, informativeness, and irritation were adopted from Ducoffe (1996). The scale of perceived value comprising four items was adapted from Sirdeshmukh et al., (2002). Four items of perceived trust were adapted from Doney and Cannon (1997). The scale of six items of social influence was used developed by Thompson et al., (1991). The scales consisting of four items of attitude and five items of behavioral intention were adapted from Taylor and Todd (1995b). A 7-point Likert scale was used to collect data ranging from 1 strongly disagree to 7 strongly agree. It is assumed that a 7-point scale is more reliable, user-friendly, and a better representation of a respondent’s actual assessment. Furthermore, it is an ideal option for surveys as it gives the respondents two moderate opinions, two extreme opinions, two intermediate opinions, and one neutral opinion (Cheng, 2015; Mohammadi, 2015a).

Participants and data collection procedure

The study employed a multistage cluster sampling technique due to its connection with survey research. In the first stage, a basic random sampling strategy was used to make clusters (universities) from Rawalpindi, Islamabad, Lahore, Karachi, and Peshawar. The total number of universities located in these five cities is 150. The students were chosen from each cluster in the second stage using the convenience sampling technique, ensuring that the sample was as diverse as possible. The data was collected from all those students who were experiencing mobile learning due to the Covid-19 breakthrough. They had a better understanding of mobile technologies and were the largest group of users of new technologies. The study’s population was estimated to be around 42,300 students. The sample size calculation was based on the expected response rate and came out as 1056 invites with an estimated response rate of 30%. Thus, 1156 questionnaires were circulated to get the responses. So, the total sample size used for analysis was 586 after removing outliers and missing information.

Data analysis

The demographic analysis shows the majority of the respondents are male and in the age category of 15 to 25 years with bachelors in the context of education. Approximately all respondents have smartphones and experience of using smartphones of 4 to 6 years can be seen in Table 1.

Table 1 Demographic analysis

Common method bias

The common method bias (CMB) was calculated using Harman’s single factor test, which measures the variance that can be attributed to a single factor. All thirty-eight items from the eight constructs were loaded into a factor analysis to determine whether a single factor emerges and accounts for the majority of the covariance among the measures. If no single factor emerges and accounts for the majority of the covariance, then it means that common method variance is not a prevalent issue in the study. The variance percentage after extraction is 25.155, which is less than 50%, (see Table 2) indicating that there is no CMB in the study (Tehseen et al., 2017).

Table 2 Harman’s single factor test (extraction method: principal component analysis)

The values of the mean and standard deviation of the variables are within the acceptable range. Skewness and kurtosis values are also within the limits, thus showing the normality of the data as can be seen in Table 3. Furthermore, the Pearson correlation of the variables is shown in Table 3 which describes inter-correlation among the variables. All variables have a positive and significant impact on each other except irritation which has a negative and significant correlation with all variables of interest.

Table 3 Descriptive, Correlation analysis, and the square root of AVE

Confirmatory factor analysis

For data analysis, SPSS-25 and AMOS-23 have been used. Confirmatory factor analysis (CFA) was conducted using AMOS-23; whereas multiple regression, mediation, and moderation have been measured via Process Macros of Hayes & Preacher (2014) using SPSS. The primary reason of conducting CFA using AMOS was to determine how well the construct indicators capture variables. The fit indices indicate how well the model fits with the data (see Fig. 2). It explains whether the variables are independent of each other or co-vary based upon maximum likelihood estimation. Moreover, it has the ability to handle non-parametric data. The goodness of fit statistics shows CMIN/ DF is 2.31, GFI 0.89, AGFI 0.86, RMSEA 0.4, CFI 0.88, and NFI 0.90, therefore the data are a good fit with the model as all values lie in an acceptable range. The factor loadings are loaded appropriately with each item and all items with a value less than 0.4 are removed.

Fig. 2
figure 2

Measurement model

The face validity of the instrument has been measured in three stages with the help of students, then educational specialists, and then students again. Construct validity is assessed via convergent and discriminant validity. CR and AVE values are assessed for convergent validity and can be seen in Table 4, all values of CR are greater than 0.7, and AVE values are greater than 0.5 as the value of all latent constructs is above the minimum threshold value of 0.5 (Hair et al., 2010), thus all values are in an acceptable range. Therefore, the study exhibits convergent validity (Hulland, 1999). The result also ensured the discriminant validity of the model by following Fornell and Larcker’s (1981) criteria. It is determined that a set of items measuring specifically their construct are not cross-loading on other constructs. Table 3 shows that the square root of Average Variance Extracted (AVE) values of ENT, INF, IRR, PERT, PERV, SI, ATML, and BITML are larger than the corresponding latent variables correlations. The establishment of discriminant validity is also confirmed by the values of HTMT (see Table 5). The HTMT method is a better approach to predict the discriminant validity between the constructs as it measures between trait correlations and within trait correlation of two constructs. All the values are below the threshold of 0.90 (Roemer et al., 2021). Therefore, it is concluded that discriminant validity has been established and the latent factors represent distinct constructs.

Table 4 Confirmatory factor analysis
Table 5 Heterotrait–monotrait ratio (HTMT)

Hypotheses testing

Linear relationships among variables were measured via multiple regression analysis. Hypotheses 1, 2, 4, and 5 state ENT, INF, PERT, and PERV has a significant and positive relationship with attitude, whereas H3 states irritation has a negative relationship with attitude. When ENT is increased by one unit, ATML increases by 0.19 units, as seen in Table 6. ATML will increase by 0.12 units if INF is increased by one unit. ATML will drop by − 0.10 units if IRR is increased by one unit. ATML will increase by 0.10 units if PERT is increased by one unit. ATML will increase by 0.36 units if PERV is increased by one unit. Table 6 demonstrates that ENT, INF, IRR, PERT, and PERV all exhibit significant positive beta values, indicating that students with higher scores are more likely to have greater ATML. With a beta value of 0.36, PERV has the greatest influence on ATML. Hence Hypotheses 1, 2, 3, 4, and 5 are accepted.

Table 6 Multiple regression analysis (effect of all IVs on attitude)

Hypotheses 6, 7, 9, 10 state ENT, INF, PERT, and PERV have a significant and positive relationship with BITML, whereas H8 states that IRR has a negative relationship. Table 7 shows that a one-unit increase in ENT results in a 0.20-unit increase in BITML. If INF is increased by one unit, BITML will increase by 0.08. BITML will drop by -0.10 units if IRR is increased by one unit. BITML will increase by 0.14 units if PERT is increased by one unit. BITML will increase by 0.33 units if PERV is increased by one unit. Table 7 demonstrates that ENT, PERT, and PERV have significant positive beta values, indicating that students with higher scores are more likely to have higher BITML scores; however, IRR has a negative significant influence. With a beta value of 0.33, the PERV in the model has a bigger effect on BITML. Therefore, H6 and 8, 9, and 10 are significant, whereas H7 is rejected because INF has an insignificant β value, the insignificant effect suggests that changes in BITML are not associated with a change in INF (see Fig. 3).

Table 7 Multiple regression analysis (effect of all IVs on behavioral intention)
Fig. 3
figure 3

Conceptual model with regression weights straight lines significant relationships, dotted lines insignificant relationship. (Color figure online)

Hypothesis 16 states that ATML has a positive and significant effect on BITML. If ATML is raised by 1 unit, the BITML will be increased by 0.70 units as can be seen in Table 8, thus accepting H16.

Table 8 Linear regression analysis (effect of attitude on behavioral intention)

Mediation and moderation analysis

The study used Macro Process by Hayes & Preacher (2014). Model 4 with bootstrapping to boost the statistical power of mediation analysis (Inman & Nikolova, 2017). The current study uses 5000 samples to repeat the bootstrapping technique. If the indirect effect estimates’ 95 percent confidence interval does not include zero, the mediator is considered significant.

To determine the mediating effect of ATML between ENT and BITML, a path analysis was performed. Table 9 shows that the total impact (0.42, p < 0.05) and indirect effect (0.27, p < 0.05) are both significant (based on 5000-bootstrapped samples). ATML mediates the link between ENT and BITML, according to the data (lower 95 percent CI = 0.2065 and higher 95 percent CI = 0.3401). Because the direct effect (0.14, p < 0.05) is also strong, partial mediation is present. To determine the mediating effect of ATML between INF and BITML, a path analysis was performed. Table 9 shows that the total effect (0.47, p < 0.05) and indirect impact (0.33, p < 0.05) are both significant (based on 5000-bootstrapped samples). ATML mediates the association between INF and BITML, according to the findings (lower 95 percent CI = 0.2645 and higher 95 percent CI = 0.4212). Because the direct effect (0.14, p < 0.05) is also strong, partial mediation is present. To determine the mediating effect of ATML between IRR and BITML, a path analysis was performed. Table 9 shows that the total effect (− 0.18, p < 0.05) and indirect effect (− 0.13, p < 0.05) are both significant (based on 5000-bootstrapped samples). ATML mediates the link between IRR and BITML, according to the data (lower 95 percent CI = -0.1974 and higher 95 percent CI = − 0.0783). The direct effect (0.14, p < 0.05) is likewise substantial, indicating that there is full mediation. To determine the mediating effect of ATML between PERT and BITML, a path analysis was performed. Table 9 shows that the total effect (0.58, p < 0.05) and indirect impact (0.36, p < 0.05) are both significant (based on 5000-bootstrapped samples). ATML mediates the link between PERT and BITML, according to the findings (lower 95 percent CI = 0.2865 and higher 95 percent CI = 0.4510). Because the direct effect (0.21, p < 0.05) is also strong, partial mediation is present. To determine the mediating effect of ATML between PERV and BITML, a path analysis was performed. Table 9 shows that the total effect (0.77, p < 0.05) and indirect impact (0.46, p < 0.05) are both significant (based on 5000-bootstrapped samples). ATML mediates the link between PERV and BITML, according to the findings (lower 95 percent CI = 0.3763 and higher 95 percent CI = 0.5647) because the direct effect (0.31, p < 0.05) is also strong, partial mediation is present.

Table 9 Mediation analysis

Hypothesis 17 states that SI strengthens the association between ATML and BITML. To test Hayes & Preacher (2014) (Model 1)’s moderation study of SI between ATML and BITML via Process Macro, a route analysis was performed. First, the significance of the moderation effect is determined; if it is significant, then moderation exists and is meaningful, as evidenced by the values of the lower and upper limit confidence intervals. When zero does not fall between the two extremes, moderation is significant. The fact that the lower limit is − 0.024 and the higher limit is − 0.0013 indicates that zero does not lie between the two values, indicating that moderation exists. Table 10 demonstrates the low, medium, and high effect of SI in the relationship between ATML and BITML to determine which condition has a significant effect. SI dampens the impact on the link between ATML and BITML, as seen in Fig. 4.

Table 10 Moderation analysis
Fig. 4
figure 4

Moderation graph

Discussion

The study objective was to determine the factors related to behavioral intention toward mobile learning. Mobile devices have evolved into vital gadgets that are used as a source of pleasure, with their productivity boosted by a variety of mobile apps. Mobile apps play an important part in mobile commerce uptake and students find them entertaining. Students’ attitudes are influenced by the rapid growth of mobile applications, video games, and mobile commerce. The hypothesis postulated that entertainment significantly influences ATML and BITML is supported in the study. Students use technology to reduce stress and boost their leisure time while studying. It influences not only one’s attitude but also one’s behavior (Tuparov et al., 2015). The findings of research conducted by Arli (2017) and Lin et al., (2017) found that the spread of mobile devices and the internet have boosted students’ capacity to be informed and supported the current findings of the study. In contrast to the literature, informativeness does not affect BITML. The study’s findings differ from those reported in the literature by Shim and Youn (2013) and Zedan and Salem (2016) on the direct association between informativeness and behavioral intention. The purpose of this research is to perceive if there is a direct relationship between informativeness and BITML. As a result, it is deemed inconsequential in the context of this study, indicating that it does not affect students’ behavioral intentions. This suggests that informativeness does not encourage students to behave positively. This could be because the mobile learning concept is emerging in Pakistan, and many individuals, even educational institutions, are unfamiliar with it.

The findings of this study support Zedan and Salem’s (2016) hypothesis that irritation is similar to reactance and that individuals generally respond badly when they are uncomfortable and considered intrusive. With the advancement of technology, the component of aggravation and irritation has increased, which can have a detrimental impact on people’s attitudes and behavioral intentions (Hasan, 2016). Furthermore, studies performed by Ponte et al., (2015) and Lee et al., (2015a, 2015b) discovered that trust is critical for building connections, whereas security and privacy issues raise risk and ambiguity. Trust was identified as a key determinant of attitude, and it was discovered that trust has a favorable and significant impact on attitudes toward mobile learning. As a result, as recommended by Suki and Suki (2017) and Wang et al., (2015), it is critical to establish positive consumer trust. People have a favorable attitude and behavioral intention when they view mobile learning to be of great value. As a result, developing positive student attitudes is a crucial endeavor (Naciri et al., 2020; Shin & Kang, 2015).

The study postulated that ATML mediates the relationships between entertainment, informativeness, irritation, perceived trust, and perceived value with BITML. In today’s world, technology is evolving at a breakneck pace, forcing educational institutions to adopt cutting-edge technology, particularly in the field of education. The findings of the study showed that attitude has been found to mediate relationships between predictors, such as entertainment, informativeness, irritation, value, and trust, with behavioral intention (Curras-Perez et al., 2014; Mohammadi, 2015a; Zhu & Chang, 2014). In general, mobile learning may be defined as any type of learning that occurs through the use of a mobile device, and it has gotten a lot of attention in recent years (Donaldson, 2012; Montrieux et al., 2015; Park et al., 2012). For mobile learning to succeed in higher education, it is critical to understand the elements that drive its adoption. Attitude has been shown to have a major impact on students’ behavioral intentions toward learning (Yeap et al., 2016; Criollo-C, 2021).

Social influence moderates the relationship between ATML and BITML. According to Chong et al., (2012), Chong (2013), and Leong et al., (2013) social influence has a favorable effect on students’ behavioral intentions because social groups provide substantial evidence regarding the appropriateness of a certain product, social impact minimizes the risk of adoption. This aids students in their decision-making process (Alzaidi & Shehawy, 2022). As a result, the evidence strongly suggests that social influence is a determinant of attitude and behavioral intention and it moderates the connection. However, it moderates the relationship in the current investigation, but negatively. This is due to the differences in culture and industry because mobile learning is a relatively new phenomenon in Pakistan, and people lack sufficient information and evidence to support it. Since social groupings have a negative reaction to it thus people do not consider mobile learning to be an appropriate learning tool. Another argument could be that because mobile users are young and have the requisite abilities to operate mobile technology, they do not require the influence of a social group to navigate in the context of mobile learning. The study is comparable to Tan et al., (2014) that social factors did not affect the behavioral intention to adopt mobile learning. As a result, it is concluded that social impact moderates negatively rather than strengthening the association between ATML and BITML in students.

Theoretical implications

In social and psychological situations, behavioral intention is a common manifestation but in the context of mobile learning, it is at the embryonic level. The theoretical implication of the study is three-fold: firstly, the study developed and measured a comprehensive theoretical framework based on literature to measure BITML. Secondly, the mediating effect of ATML is explored between perceived entertainment, informativeness, irritation, trust, and value with BITML. Taken together these findings suggest that developing a favorable attitude among learners positively affects BITML. Lastly, the study measured the moderating effect of social influence in the relationship between ATML and BITML.

Practical implications

The study exhibits various practical implications: firstly, it will assist educational institutes that how BITML has emerged and how it is shaping the attitude of learners. They must accurately depict the concept of mobile learning and devise tactics to encourage learners to embrace mobile learning by demonstrating that it not only entertains but also gives comprehensive information. Educational institutions should provide user-friendly apps with improved reading layouts so that students may learn on the go. Secondly, the study is imperative for service providers because internet services are the prerequisites for mobile learning. The internet should be made more accessible to make it easier to get learning materials. Thirdly, the study is vital for the telecom industry as mobile learning is associated with technology, thus they need to make the devices compatible with learning features and simple to operate for the general public. They should build screens that are large and faultless, allowing for a clear display.

Limitations and future research

The study might have numerous limitations and based upon limitations future directions are provided. Firstly, the study has incorporated various factors to measure behavioral intention but in future studies, one may add personality traits of individuals who are supposed to practice mobile learning along with various other variables to depict the BITML. Secondly, the study is majorly based on U&G theory and TPB, thus the conceptual model needs to be tested in comparison to TAM and UTAUT models. Thirdly, the study is based upon cross-sectional data that hinder generalizability thus in future, time lag data can be used to measure the behavior of individuals. Lastly, in the context of analysis techniques, the latest software might be used for more generalizability.

Conclusion

In general, the study started with the design of the research model, which was accomplished by the analysis of relevant literature and the formulation of research hypotheses that may provide answers to the research questions. The study investigated the effect of perceived entertainment, informativeness, irritation, trust, and value on ATML and BITML. Moreover, the study determined the mediating role of attitude in the aforementioned relationships and moderating role of social influence in the relationship between ATML and BITML. The findings showed that perceived entertainment, perceived informativeness, perceived trust, and perceived value have direct and significant effects on attitude toward mobile learning, whereas perceived irritation has a negative effect. For the direct effect on BITML, all variables showed significant impact except informativeness. Furthermore, the study confirmed the role of ATML as a mediator and social influence as a moderator. Consequently, significant advances have been facilitated by modern technology and globalization, and mobile learning has expanded the scope of electronic and distance education, particularly with the pandemic Covid-19 worldwide. The shift to mobile learning will be successful, and it will be useful for a long time.